1 |
#!/bin/bash |
#!/bin/bash |
2 |
|
# $Id$ |
3 |
|
|
4 |
#%rlevels: 3:s 4:s 5:s 0:k 6:k |
#%rlevels: 3:s 4:s 5:s 0:k 6:k |
5 |
#%start: 99 |
#%start: 99 |
10 |
#%before: |
#%before: |
11 |
#%after: |
#%after: |
12 |
|
|
13 |
# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/init.d/alxsetstate,v 1.10 2005-10-26 11:57:00 niro Exp $ |
source /etc/conf.d/rc |
|
|
|
|
source /etc/sysconfig/rc |
|
14 |
source $rc_functions |
source $rc_functions |
15 |
|
|
16 |
# mysql settings |
# mysql settings |
18 |
source /usr/lib/alxconfig-ng/functions/mysqlfunctions |
source /usr/lib/alxconfig-ng/functions/mysqlfunctions |
19 |
source /usr/lib/alxconfig-ng/functions/serial_functions |
source /usr/lib/alxconfig-ng/functions/serial_functions |
20 |
|
|
|
# check if mysql is available |
|
|
[ -x /usr/bin/mysql ] && MYSQL_ALX=true |
|
|
|
|
|
# other needed vars |
|
|
ALX_HW_DETECT=false |
|
|
|
|
21 |
# unset vars which may kill us |
# unset vars which may kill us |
22 |
unset ALX_SERIAL ALX_STATE ALX_IFACE |
unset ALX_SERIAL ALX_STATE ALX_IFACE |
23 |
|
|