☰
Debian Codegraph
@
0.63.3-1
/
/
support
/
sysvinit
/
halt.sh
☽
☼
support/sysvinit/halt.sh
code
plain
raw
BSD-2-clauses
(c) 1992-2012, FreeBSD Project; (c) 2004-2007,2011-2013 Gentoo Foundation; (c) 2007-2009, Roy Marples <
[email protected]
>; (c) 2012-2013, William Hubbs <
[email protected]
>; (c) 2012, Alexander Vershilov <
[email protected]
>; (c) 2012, Doug Goldstein <
[email protected]
>
debian/copyright
1
#!/bin/sh
2
if [ "$INIT_HALT" = HALT ]; then
3
exec /sbin/halt -dhn
4
else
5
exec /sbin/poweroff -dhn
6
fi