11 |
#%before: |
#%before: |
12 |
#%after: |
#%after: |
13 |
|
|
14 |
# $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/init.d/alxsettings,v 1.21 2008-06-17 19:05:51 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 |
541 |
--icon-width "1" \ |
--icon-width "1" \ |
542 |
--icon-height "1" |
--icon-height "1" |
543 |
|
|
544 |
|
# check for Xorg or kdrive (use Xvesa) |
545 |
|
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} |
558 |
chown ${ALX_UNPRIV_USER}:${ALX_UNPRIV_GROUP} ${ALX_UNPRIV_HOME}/.fluxbox |
chown ${ALX_UNPRIV_USER}:${ALX_UNPRIV_GROUP} ${ALX_UNPRIV_HOME}/.fluxbox |