fs

morpheus filesystem files
git clone git://git.2f30.org/fs
Log | Files | Refs

commit 9dcb3f886c703004b1cb02e597b047549bdc7263
parent 9781a149a1af687fcefe1ac9536ec1e0c4ba8f9a
Author: sin <sin@2f30.org>
Date:   Wed,  5 Feb 2014 17:25:36 +0000

Call ubase halt from rc.shutdown

Diffstat:
Metc/rc.shutdown | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/etc/rc.shutdown b/etc/rc.shutdown @@ -28,3 +28,9 @@ sleep 3 wait echo bye + +if test "$1" = "reboot"; then + halt -r +else + halt -p +fi