summaryrefslogtreecommitdiffstats
path: root/etc/rc.halt
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-28 20:52:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-28 20:52:33 +0000
commit405e5de066dd03d08d6ea51411d853cbdbfbce51 (patch)
tree658743a4d05825ccda2e96e9abaea7ae00bdf6ec /etc/rc.halt
parent7ab8562cb3c392946b9911a009912e79d119dfa8 (diff)
downloadpfsense-405e5de066dd03d08d6ea51411d853cbdbfbce51.zip
pfsense-405e5de066dd03d08d6ea51411d853cbdbfbce51.tar.gz
Add rc.halt command which will shutdown and halt a running system.
Suggested-by: Bachman Kharazmi
Diffstat (limited to 'etc/rc.halt')
-rwxr-xr-xetc/rc.halt6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc.halt b/etc/rc.halt
new file mode 100755
index 0000000..40d6504
--- /dev/null
+++ b/etc/rc.halt
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+sleep 1
+
+/sbin/shutdown -h now
+
OpenPOWER on IntegriCloud