some blank spaces
parent
9e1fd05792
commit
376d1bdcdb
|
|
@ -34,6 +34,7 @@ if [ "$1" = "--killall5" ]; then
|
||||||
kill -9 $LIST 2>/dev/null # SIGKILL
|
kill -9 $LIST 2>/dev/null # SIGKILL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "$1" = "--start" ]; then
|
if [ "$1" = "--start" ]; then
|
||||||
# this is our first call. We will setup everything so the actual init actually
|
# this is our first call. We will setup everything so the actual init actually
|
||||||
# reloads, but calls this script again instead of itself
|
# reloads, but calls this script again instead of itself
|
||||||
|
|
@ -44,6 +45,7 @@ if [ "$1" = "--start" ]; then
|
||||||
chroot /memory/union /sbin/telinit u
|
chroot /memory/union /sbin/telinit u
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "$1" = "--init" ]; then
|
if [ "$1" = "--init" ]; then
|
||||||
# now we're called from init to replace the process nr 1.
|
# now we're called from init to replace the process nr 1.
|
||||||
# All other processes are already killed
|
# All other processes are already killed
|
||||||
|
|
@ -77,4 +79,3 @@ if [ "$1" = "--init" ]; then
|
||||||
$(cat /lib/command 2>/dev/null)
|
$(cat /lib/command 2>/dev/null)
|
||||||
reboot -f
|
reboot -f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue