merge of '07a342693675fe2b1daacf0eb62302579d9fade3'
[org.openembedded.dev.git] / packages / initscripts / initscripts-1.0 / single
blob2d177ebb62a0bc496d076f51aed39a50beafdda1
1 #! /bin/sh
3 # single executed by init(8) upon entering runlevel 1 (single).
5 # Version: @(#)single 1.20 26-Geb-2001 miquels@cistron.nl
8 PATH="/sbin:/bin:/usr/sbin:/usr/bin"
10 # Kill all processes.
11 echo "Sending all processes the TERM signal..."
12 killall5 -15
13 sleep 5
14 echo "Sending all processes the KILL signal..."
15 killall5 -9
17 # We start update here, since we just killed it.
18 test -x /sbin/update && update
20 echo "Entering single-user mode..."
21 exec init -t1 S