~carbslinux/repository

ref: 3e90bcf9811dd3dc5d397fbfe18d0ed84a4fac65 repository/core/sinit/files/sinit.pre.shutdown -rw-r--r-- 161 bytes
3e90bcf9Cem Keylan repository: move ubase and sinit to core 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
if [ "$SINIT_SHUTDOWN_HOOKS" = 1 ]; then
	case "$1" in
		reboot|poweroff)
			;;
		*)
			echo "Invalid action '$1' for rc.shutdown" 1>&2
			exit 1
			;;
	esac
fi