Magellan Linux

Diff of /alx-src/trunk/tinyalxconfig-ng/init.d/alxsettings

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 505 by niro, Tue Jun 10 23:13:06 2008 UTC revision 511 by niro, Tue Jun 17 19:09:58 2008 UTC
# Line 11  Line 11 
11  #%before:  #%before:
12  #%after:  #%after:
13    
14  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/init.d/alxsettings,v 1.20 2008-06-10 23:13:06 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/init.d/alxsettings,v 1.22 2008-06-17 19:08:33 niro Exp $
15    
16  # checks first if the client was already configured and if it has an valid serial  # checks first if the client was already configured and if it has an valid serial
17  # if not it runs the autoconfiguration script  # if not it runs the autoconfiguration script
# Line 541  import_settings_local() Line 541  import_settings_local()
541   --icon-width "1" \   --icon-width "1" \
542   --icon-height "1"   --icon-height "1"
543    
544   # create a xinitrc   # check for Xorg or kdrive (use Xvesa)
545   echo "exec startfluxbox" > ${ALX_UNPRIV_HOME}/.xinitrc   if [[ -x /usr/bin/Xorg ]]
546     then
547     ln -snf Xorg /usr/bin/X
548     ln -snf startx-xorg /usr/bin/startx
549    
550     elif [[ -x /usr/bin/Xvesa ]]
551     then
552     ln -snf Xvesa /usr/bin/X
553     ln -snf startx-kdrive /usr/bin/startx
554     fi
555    
556   # set correct permissions   # set correct permissions
557   chown ${ALX_UNPRIV_USER}:${ALX_UNPRIV_GROUP} ${ALX_UNPRIV_HOME}   chown ${ALX_UNPRIV_USER}:${ALX_UNPRIV_GROUP} ${ALX_UNPRIV_HOME}

Legend:
Removed from v.505  
changed lines
  Added in v.511