summaryrefslogtreecommitdiff
path: root/beagle/debian-rfs/etc/init.d/stop-bootlogd
diff options
context:
space:
mode:
Diffstat (limited to 'beagle/debian-rfs/etc/init.d/stop-bootlogd')
-rwxr-xr-xbeagle/debian-rfs/etc/init.d/stop-bootlogd33
1 files changed, 33 insertions, 0 deletions
diff --git a/beagle/debian-rfs/etc/init.d/stop-bootlogd b/beagle/debian-rfs/etc/init.d/stop-bootlogd
new file mode 100755
index 0000000..1797b7d
--- /dev/null
+++ b/beagle/debian-rfs/etc/init.d/stop-bootlogd
@@ -0,0 +1,33 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: stop-bootlogd
+# Required-Start: $local_fs $all
+# Required-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop:
+# Short-Description: Stop bootlogd
+# Description: See the init.d/bootlogd script
+### END INIT INFO
+
+NAME=stop-bootlogd
+DAEMON=/sbin/bootlogd
+
+[ -x "$DAEMON" ] || exit 0
+
+case "$1" in
+ start)
+ /etc/init.d/bootlogd stop
+ ;;
+ stop|restart|force-reload)
+ # No-op
+ ;;
+ status)
+ exec /etc/init.d/bootlogd status
+ ;;
+ *)
+ echo "Usage: $NAME {start|stop|restart|force-reload}" >&2
+ exit 3
+ ;;
+esac
+
+: