7 |
MAGERC="/etc/mage.rc" |
MAGERC="/etc/mage.rc" |
8 |
MAGEPROFILE="alx-060" |
MAGEPROFILE="alx-060" |
9 |
NEW_MAGE_DISTRIBUTION="unstable" |
NEW_MAGE_DISTRIBUTION="unstable" |
10 |
NEW_RSYNC="rsync://magellan-linux.de/mage-alx-0.6.0" |
#NEW_RSYNC="rsync://magellan-linux.de/mage-alx-0.6.0" |
11 |
NEW_MIRRORS="http://magellan-linux.de/magellan/alx-0.6.0/${NEW_MAGE_DISTRIBUTION}" |
#NEW_MIRRORS="http://magellan-linux.de/magellan/alx-0.6.0/${NEW_MAGE_DISTRIBUTION}" |
12 |
|
NEW_RSYNC="rsync://128.20.41.110/mage-alx-060" |
13 |
|
NEW_MIRRORS="http://128.20.41.110/magellan/alx-060" |
14 |
NEW_PACKAGES_SERVER_PATH='packages/${ARCH}' |
NEW_PACKAGES_SERVER_PATH='packages/${ARCH}' |
15 |
NEW_MAGE_UNINSTALL_TIMEOUT=0 |
NEW_MAGE_UNINSTALL_TIMEOUT=0 |
16 |
|
|
20 |
NEW_ALX_DHCP_START="-T 10 -t 5 -n -i" |
NEW_ALX_DHCP_START="-T 10 -t 5 -n -i" |
21 |
NEW_ALX_DHCP_STOP="" |
NEW_ALX_DHCP_STOP="" |
22 |
NEW_MIN_DISK_SPACE="85000" |
NEW_MIN_DISK_SPACE="85000" |
23 |
NEW_ALX_PLUGINS="/etc/alxconfig-ng/plugins" |
NEW_ALX_PLUGINS="/usr/lib/alxconfig-ng/plugins" |
24 |
|
NEW_ALX_FUNCTIONS="/usr/lib/alxconfig-ng/functions" |
25 |
|
|
26 |
# fake mage upgrade to prevent annoying error messages |
# fake mage upgrade to prevent annoying error messages |
27 |
if [[ ! -x /usr/sbin/mageupgrade ]] |
if [[ ! -x /usr/sbin/mageupgrade ]] |
99 |
|
|
100 |
# fix config.rc |
# fix config.rc |
101 |
CONFIG="${CONFIGRC}" |
CONFIG="${CONFIGRC}" |
102 |
updateconfig ALX_NETWORKING ALX_DHCP_PROG ALX_DHCP_START ALX_DHCP_STOP MIN_DISK_SPACE ALX_PLUGINS |
updateconfig ALX_NETWORKING ALX_DHCP_PROG ALX_DHCP_START ALX_DHCP_STOP MIN_DISK_SPACE ALX_PLUGINS ALX_FUNCTIONS |
103 |
|
|
104 |
# fix profile |
# fix profile |
105 |
if [[ $(readlink /etc/mage-profile) != */${MAGEPROFILE} ]] |
if [[ $(readlink /etc/mage-profile) != */${MAGEPROFILE} ]] |
301 |
[[ -f ${tmp} ]] && rm -f ${tmp} |
[[ -f ${tmp} ]] && rm -f ${tmp} |
302 |
# start cron daemon in background |
# start cron daemon in background |
303 |
crond -b -S |
crond -b -S |
304 |
|
|
305 |
|
rm -f /.dist-upgrade |
306 |
fi |
fi |
307 |
|
|
308 |
exit 0 |
exit 0 |