]> Frank Brehm's Git Trees - config/samara/etc.git/commitdiff
committing changes in /etc after emerge run
authorFrank Brehm <frank.brehm@profitbricks.com>
Sun, 26 Jun 2016 21:18:38 +0000 (23:18 +0200)
committerroot Samara <root@samara.pb.local>
Sun, 26 Jun 2016 21:18:38 +0000 (23:18 +0200)
Package changes:

init.d/reboot.sh [deleted file]
init.d/shutdown.sh [deleted file]

diff --git a/init.d/reboot.sh b/init.d/reboot.sh
deleted file mode 100755 (executable)
index 3e50f71..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-opts="-dpk"
-[ "${RC_DOWN_INTERFACE}" = "yes" ] && opts="${opts}i"
-
-/sbin/reboot "${opts}" 2>/dev/null
-
-# hmm, if the above failed, that's kind of odd ...
-# so let's force a reboot
-/sbin/reboot -f
diff --git a/init.d/shutdown.sh b/init.d/shutdown.sh
deleted file mode 100755 (executable)
index 502ef52..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-opts="-d"
-[ "${INIT_HALT}" != "HALT" ] && opts="${opts}p"
-[ "${RC_DOWN_INTERFACE}" = "yes" ] && opts="${opts}i"
-[ "${RC_DOWN_HARDDISK}" = "yes" ] && opts="${opts}h"
-
-/sbin/halt "${opts}"
-
-# hmm, if the above failed, that's kind of odd ...
-# so let's force a halt
-/sbin/halt -f