diff options
| author | Manuel Traut <manut@mecka.net> | 2013-03-10 12:13:49 +0100 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2013-03-10 12:13:49 +0100 |
| commit | 9c0f862749f30800837a45aff5abdcb529867dbc (patch) | |
| tree | b0ca51fff64f12fac03aea4afaa1fa722376844b /beagle/debian-rfs/etc/init.d/rmnologin | |
| parent | 33b79c725448efd2c9a72e2ae9a1fb04270492f5 (diff) | |
| parent | cea5039322781f6085dd47954af5584ca3f78911 (diff) | |
Merge branch 'schulung'
updates from current linutronix schulung.git
Conflicts:
Makefile
configpres.tex
flash-memory/ubi/handout_ubi_de.tex
handout.tex
index.txt
pres_master.tex
vorl.tex
vorl1.tex
vorl2.tex
vorl3.tex
vorl4.tex
vorl5.tex
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'beagle/debian-rfs/etc/init.d/rmnologin')
| -rwxr-xr-x | beagle/debian-rfs/etc/init.d/rmnologin | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/beagle/debian-rfs/etc/init.d/rmnologin b/beagle/debian-rfs/etc/init.d/rmnologin deleted file mode 100755 index 62cb6fa..0000000 --- a/beagle/debian-rfs/etc/init.d/rmnologin +++ /dev/null @@ -1,59 +0,0 @@ -#! /bin/sh -### BEGIN INIT INFO -# Provides: rmnologin -# Required-Start: $remote_fs $all -# Required-Stop: -# Default-Start: 2 3 4 5 -# Default-Stop: -# Short-Description: Remove /etc/nologin at boot -# Description: This script removes the /etc/nologin file as the -# last step in the boot process, if DELAYLOGIN=yes. -# If DELAYLOGIN=no, /etc/nologin was not created by -# bootmisc earlier in the boot process. -### END INIT INFO - -PATH=/sbin:/bin -[ "$DELAYLOGIN" ] || DELAYLOGIN=yes -. /lib/init/vars.sh - -do_start () { - # - # If login delaying is enabled then remove the flag file - # - case "$DELAYLOGIN" in - Y*|y*) - rm -f /var/lib/initscripts/nologin - ;; - esac -} - -do_status () { - if [ ! -f /var/lib/initscripts/nologin ] ; then - return 0 - else - return 4 - fi -} - -case "$1" in - start) - do_start - ;; - restart|reload|force-reload) - echo "Error: argument '$1' not supported" >&2 - exit 3 - ;; - stop) - # No-op - ;; - status) - do_status - exit $? - ;; - *) - echo "Usage: $0 start|stop" >&2 - exit 3 - ;; -esac - -: |
