diff options
Diffstat (limited to 'init.d/halt.sh')
-rwxr-xr-x | init.d/halt.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init.d/halt.sh b/init.d/halt.sh index 117fc6f..9e23ab0 100755 --- a/init.d/halt.sh +++ b/init.d/halt.sh @@ -1,6 +1,9 @@ +#!/bin/bash # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +[[ ${RC_GOT_FUNCTIONS} != "yes" ]] && source /sbin/functions.sh + # Write a reboot record to /var/log/wtmp before unmounting halt -w &>/dev/null |