summaryrefslogtreecommitdiff
path: root/beagle/debian-rfs/etc/init.d/single
diff options
context:
space:
mode:
Diffstat (limited to 'beagle/debian-rfs/etc/init.d/single')
-rwxr-xr-xbeagle/debian-rfs/etc/init.d/single35
1 files changed, 0 insertions, 35 deletions
diff --git a/beagle/debian-rfs/etc/init.d/single b/beagle/debian-rfs/etc/init.d/single
deleted file mode 100755
index 3379102..0000000
--- a/beagle/debian-rfs/etc/init.d/single
+++ /dev/null
@@ -1,35 +0,0 @@
-#! /bin/sh
-### BEGIN INIT INFO
-# Provides: single
-# Required-Start: $local_fs $all killprocs
-# Required-Stop:
-# Default-Start: 1
-# Default-Stop:
-# Short-Description: executed by init(8) upon entering runlevel 1 (single).
-### END INIT INFO
-
-PATH=/sbin:/bin
-
-. /lib/lsb/init-functions
-
-do_start () {
- log_action_msg "Will now switch to single-user mode"
- exec init -t1 S
-}
-
-case "$1" in
- start)
- do_start
- ;;
- restart|reload|force-reload)
- echo "Error: argument '$1' not supported" >&2
- exit 3
- ;;
- stop)
- # No-op
- ;;
- *)
- echo "Usage: $0 start|stop" >&2
- exit 3
- ;;
-esac