Hinweise zum Betrieb von USVs
foo bar...
TODO: Allgemeine Infos
Anpassungen /etc/nologin
Auf Debian jessie Systemen, die unter SystemV starten, müssen einige Anpassungen gemacht werden, solange Debian Bug #743743 nicht für Debian jessie gefixt ist:
``` diff --git a/apcupsd/apcupsd.conf b/apcupsd/apcupsd.conf index c59e3ad..ae28bba 100644 --- a/apcupsd/apcupsd.conf +++ b/apcupsd/apcupsd.conf @@ -109,7 +109,7 @@ PWRFAILDIR /etc/apcupsd # NOLOGINDIR <path to nologin directory> # Directory in which to write the nologin file. The existence # of this flag file tells the OS to disallow new logins. -NOLOGINDIR /etc +NOLOGINDIR /run # diff --git a/init.d/bootmisc.sh b/init.d/bootmisc.sh index 5c73683..ad60f2a 100755 --- a/init.d/bootmisc.sh +++ b/init.d/bootmisc.sh @@ -21,7 +21,7 @@ do_start () { # case "$DELAYLOGIN" in Y*|y*) - echo "System bootup in progress - please wait" > /var/lib/initscripts/nologin + echo "System bootup in progress - please wait" > /run/nologin ;; esac diff --git a/init.d/rmnologin b/init.d/rmnologin index 3f64aaf..d47a49a 100755 --- a/init.d/rmnologin +++ b/init.d/rmnologin @@ -22,7 +22,7 @@ do_start () { # case "$DELAYLOGIN" in Y*|y*) - rm -f /etc/nologin + rm -f /run/nologin ;; esac }