~carbslinux/repository

edc945a68cb7e2d74b6cdfa0de33bc382be70c2b — Cem Keylan 1 year, 9 months ago 3e90bcf
sinit: remove pre shutdown hook
5 files changed, 3 insertions(+), 15 deletions(-)

M core/sinit/checksums
M core/sinit/files/sinit.post.shutdown
D core/sinit/files/sinit.pre.shutdown
M core/sinit/sources
M core/sinit/version
M core/sinit/checksums => core/sinit/checksums +1 -2
@@ 3,5 3,4 @@ aaccd0515070545174bf962c462686e7719c02c68004bd0b350b98b4c78a90ba  sinit-1.1.tar.
f638aaa23383da584d3a56347a8e279abdc7c9c521661ef54a5bc8b955c5632b  reboot
d21a020d7cdb6a328962adac7cc1a8701a413c1dfabd40ac00bf7dc212fa29d1  poweroff
93f3b06594447598af207f44f2dde126f05724fde0a405bd15dd0f446ff26c6f  sinit-launch-services.boot
2ea497694bbf778a05bbece13bac32c8d8c0be36469fe80ccee32c1501fbb392  sinit.pre.shutdown
2c161e2c97366e12c7994f832ee96f293485e6dd398a66070f8bd35949beb8e1  sinit.post.shutdown
a6952fbe916d2b9756b7dfc59bc5313a7d3749b22c59ab4db88ea76d4d76f097  sinit.post.shutdown

M core/sinit/files/sinit.post.shutdown => core/sinit/files/sinit.post.shutdown +1 -1
@@ 8,7 8,7 @@ if [ "$SINIT_SHUTDOWN_HOOKS" = 1 ]; then
			out "Requesting system reboot..."
			/usr/bin/ubase-box halt -r 
			;;
		poweroff) 
		*) 
			out "Requesting system poweroff..."
			/usr/bin/ubase-box halt -p 
			;;

D core/sinit/files/sinit.pre.shutdown => core/sinit/files/sinit.pre.shutdown +0 -10
@@ 1,10 0,0 @@
if [ "$SINIT_SHUTDOWN_HOOKS" = 1 ]; then
	case "$1" in
		reboot|poweroff)
			;;
		*)
			echo "Invalid action '$1' for rc.shutdown" 1>&2
			exit 1
			;;
	esac
fi

M core/sinit/sources => core/sinit/sources +0 -1
@@ 3,5 3,4 @@ files/config.h
files/reboot
files/poweroff
files/sinit-launch-services.boot
files/sinit.pre.shutdown
files/sinit.post.shutdown

M core/sinit/version => core/sinit/version +1 -1
@@ 1,1 1,1 @@
1.1 1
1.1 2