2 |
|
|
3 |
# <niro@magellan-linux.de> |
# <niro@magellan-linux.de> |
4 |
|
|
5 |
#%rlevels: 7:s 0:k 6:k |
#%rlevels: 7:s 0:k |
6 |
#%start: 41 |
#%start: 41 |
7 |
#%stop: 01 |
#%stop: 01 |
8 |
|
|
11 |
#%before: |
#%before: |
12 |
#%after: |
#%after: |
13 |
|
|
14 |
# $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/init.d/alxsettings,v 1.4 2008-06-04 18:02:00 niro Exp $ |
# $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/init.d/alxsettings,v 1.6 2008-06-04 18:30:03 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 |
159 |
echo -e ${COLOREDSTAR}"Cleaning up old data ..." |
echo -e ${COLOREDSTAR}"Cleaning up old data ..." |
160 |
rm -f /etc/sysconfig/hwsetup/* |
rm -f /etc/sysconfig/hwsetup/* |
161 |
fi |
fi |
162 |
|
ALX_HW_DETECT=true |
163 |
echo -en "${COLOREDSTAR}";hwsetup -p > /dev/null |
echo -en "${COLOREDSTAR}";hwsetup -p > /dev/null |
164 |
|
|
165 |
# set hostname to alx_default_hostname |
# set hostname to alx_default_hostname |