3 killproc() { # kill the named process(es)
7 /bin/sed -e 's/^ *//' -e 's/ .*//'`
8 [ "$pid" != "" ] && kill $pid
11 for x in $(cat /proc/cmdline); do
14 echo "X Server disabled"
22 # We don't want this script to block the rest of the boot process
23 if [ "$2" != "background" ]; then
28 echo "Starting Xserver"
34 echo "Stopping XServer"
45 echo "usage: $0 { start | stop | restart }"