aboutsummaryrefslogtreecommitdiff
path: root/support/sysvinit/halt.sh
blob: 07a32b99574f0cd1a539e396ef465ae15e65b363 (plain)
1
2
3
4
5
6
#!/bin/sh
if [ "$INIT_HALT" = HALT ]; then
	exec /sbin/halt -dhn
else
	exec /sbin/poweroff -dhn
fi