#!/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 # Load the final script depending on how we are called [[ -e /etc/init.d/"$1".sh ]] && source /etc/init.d/"$1".sh # vim:ts=4