From: root Date: Mon, 29 May 2017 13:30:24 +0000 (+0200) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=edfd57e779c29f273cc4db3bdc6642c719fce35b;p=config%2Fhelga%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/init.d/agetty b/init.d/agetty index c45459e..bad0218 100755 --- a/init.d/agetty +++ b/init.d/agetty @@ -19,6 +19,7 @@ pidfile="/run/${RC_SVCNAME}.pid" depend() { after local + keyword -prefix } start_pre() { diff --git a/init.d/binfmt b/init.d/binfmt index e3b1a33..8b8b19f 100755 --- a/init.d/binfmt +++ b/init.d/binfmt @@ -13,7 +13,7 @@ description="Register misc binary format handlers" depend() { - after procfs + after clock procfs use modules devfs keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver } diff --git a/init.d/bootmisc b/init.d/bootmisc index f14793d..b42c14f 100755 --- a/init.d/bootmisc +++ b/init.d/bootmisc @@ -71,7 +71,8 @@ cleanup_var_run_dir() ebegin "Cleaning /var/run" for x in $(find /var/run ! -type d ! -name utmp \ ! -name random-seed ! -name dev.db \ - ! -name ld-elf.so.hints ! -name ld.so.hints); + ! -name ld-elf.so.hints ! -name ld-elf32.so.hints \ + ! -name ld.so.hints); do # Clean stale sockets if [ -S "$x" ]; then diff --git a/init.d/fsck b/init.d/fsck index fc892c0..d4b8da7 100755 --- a/init.d/fsck +++ b/init.d/fsck @@ -15,6 +15,7 @@ _IFS=" depend() { + after clock use dev clock modules keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -timeout -vserver -uml } diff --git a/init.d/hostname b/init.d/hostname index 474d75a..81969f8 100755 --- a/init.d/hostname +++ b/init.d/hostname @@ -12,6 +12,7 @@ description="Sets the hostname of the machine." depend() { + after clock keyword -docker -lxc -prefix -systemd-nspawn } diff --git a/init.d/hwclock b/init.d/hwclock index ebe821b..944b6aa 100755 --- a/init.d/hwclock +++ b/init.d/hwclock @@ -33,9 +33,6 @@ depend() want modules if yesno $clock_adjfile; then use root - else - before binfmt bootmisc fsck hostname keymaps localmount loopback mtab - before procfs root swap sysctl termencoding urandom fi keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu } diff --git a/init.d/keymaps b/init.d/keymaps index 49e41b0..149428a 100755 --- a/init.d/keymaps +++ b/init.d/keymaps @@ -14,7 +14,7 @@ description="Applies a keymap for the consoles." depend() { need localmount termencoding - after bootmisc + after bootmisc clock keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu } diff --git a/init.d/localmount b/init.d/localmount index 7b9271f..30a1173 100755 --- a/init.d/localmount +++ b/init.d/localmount @@ -15,7 +15,7 @@ depend() { need fsck use lvm modules mtab root - after lvm modules root + after clock lvm modules root keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver } diff --git a/init.d/loopback b/init.d/loopback index fa7ea03..35f69a3 100755 --- a/init.d/loopback +++ b/init.d/loopback @@ -13,6 +13,7 @@ description="Configures the loopback interface." depend() { + after clock keyword -jail -prefix -systemd-nspawn -vserver } diff --git a/init.d/mount-ro b/init.d/mount-ro index 3badeac..5bc0e13 100755 --- a/init.d/mount-ro +++ b/init.d/mount-ro @@ -13,7 +13,7 @@ description="Re-mount filesytems read-only for a clean reboot." depend() { - need killprocs savecache + after killprocs savecache keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver } diff --git a/init.d/mtab b/init.d/mtab index 9b17525..9035232 100755 --- a/init.d/mtab +++ b/init.d/mtab @@ -13,6 +13,7 @@ description="Update /etc/mtab to match what the kernel knows about" depend() { + after clock need root keyword -prefix -systemd-nspawn } diff --git a/init.d/procfs b/init.d/procfs index 91be45a..cd51874 100755 --- a/init.d/procfs +++ b/init.d/procfs @@ -13,6 +13,7 @@ description="Mounts misc filesystems in /proc." depend() { + after clock use devfs want modules need localmount diff --git a/init.d/root b/init.d/root index 36437a0..19e6c73 100755 --- a/init.d/root +++ b/init.d/root @@ -13,6 +13,7 @@ description="Mount the root fs read/write" depend() { + after clock need fsck keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver } diff --git a/init.d/swap b/init.d/swap index 0b0de87..5de405b 100755 --- a/init.d/swap +++ b/init.d/swap @@ -11,6 +11,7 @@ depend() { + after clock before localmount keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver } diff --git a/init.d/swclock b/init.d/swclock index 2a93d1f..9ce6c38 100755 --- a/init.d/swclock +++ b/init.d/swclock @@ -13,10 +13,6 @@ description="Sets the local clock to the mtime of a given file." depend() { - before adjkerntz binfmt bootmisc devdb dumpon fsck hostid hostname keymaps - before localmount loopback modules mtab network newsyslog procfs root - before savecore staticroute swap swap-blk syscons sysctl syslogd - before termencoding ttys urandom wscons provide clock keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu } diff --git a/init.d/sysctl b/init.d/sysctl index c27248d..34073b0 100755 --- a/init.d/sysctl +++ b/init.d/sysctl @@ -11,6 +11,7 @@ depend() { + after clock before bootmisc logger keyword -prefix -systemd-nspawn -vserver } diff --git a/init.d/termencoding b/init.d/termencoding index b238d8d..687b3f7 100755 --- a/init.d/termencoding +++ b/init.d/termencoding @@ -18,7 +18,7 @@ depend() { keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu use root - after bootmisc + after bootmisc clock } start() diff --git a/init.d/urandom b/init.d/urandom index 499feea..c1a8883 100755 --- a/init.d/urandom +++ b/init.d/urandom @@ -14,6 +14,7 @@ description="Initializes the random number generator." depend() { + after clock need localmount keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn }