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