saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-02-27 01:58:55 +01:00
committed by root
commit b3cea8d893
2385 changed files with 507432 additions and 0 deletions

11
init.d/reboot.sh Executable file
View File

@@ -0,0 +1,11 @@
# 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