Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
212
/
root
/
etc
/
rc4.d
/
//proc/212/root/etc/rc4.d/S02rmnologin
#! /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 /run/nologin at boot # Description: This script removes the /run/nologin file as the # last step in the boot process, if DELAYLOGIN=yes. # If DELAYLOGIN=no, /run/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 /run/nologin ;; esac } do_status () { if [ ! -f /run/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 :