aboutsummaryrefslogtreecommitdiffstats
path: root/sys-apps/sysvinit/files/halt.sh
blob: ff68c425cd4dbd8f125a0f5ec0376cd9af905b09 (plain)
1
2
3
4
5
6
#!/bin/sh
if [ "${INIT_HALT}" = HALT ]; then
	exec /sbin/halt -dhn
else
	exec /sbin/poweroff -dhn
fi