|
|
|
@ -151,14 +151,16 @@ start() {
|
|
|
|
|
|
|
|
|
|
# reinit net.* services
|
|
|
|
|
local rootdev=`variable_value main.os_root_dev`
|
|
|
|
|
if [[ $roottype == "livecd" ]] && [[ $rootdev == "/dev/nfs" ]]
|
|
|
|
|
if [[ $roottype == "livecd" ]]
|
|
|
|
|
then
|
|
|
|
|
touch /* /bin/* /sbin/*
|
|
|
|
|
udevadm trigger --action="add" --subsystem-match=net
|
|
|
|
|
if [[ $rootdev == "/dev/nfs" ]]
|
|
|
|
|
then
|
|
|
|
|
touch /* /bin/* /sbin/*
|
|
|
|
|
udevadm trigger --action="add" --subsystem-match=net
|
|
|
|
|
fi
|
|
|
|
|
/sbin/rc-update --update
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
/sbin/rc-update --update
|
|
|
|
|
|
|
|
|
|
rc-update del calculate boot
|
|
|
|
|
if ! [[ -f /var/calculate/server/ca/server.key ]]
|
|
|
|
|
then
|
|
|
|
|