summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-12 10:16:42 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-12 10:16:42 -0700
commit2c496247f37b5e3c17147c219c34c0dec305a5ca (patch)
tree4c92f670d2c7249984abc17dc2fd6928f0684865 /templates/show
parentd7fb3aa85e180af05b44ef88388b17deaf75d614 (diff)
parent15dc850144375cf53e85d6b5a2e9cbbca3eec3ca (diff)
downloadvyatta-op-2c496247f37b5e3c17147c219c34c0dec305a5ca.tar.gz
vyatta-op-2c496247f37b5e3c17147c219c34c0dec305a5ca.zip
Merge branch 'jenner' of 192.168.100.1:git/vyatta-op into jenner
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/shutdown/node.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/show/shutdown/node.def b/templates/show/shutdown/node.def
new file mode 100644
index 0000000..ecc8c4b
--- /dev/null
+++ b/templates/show/shutdown/node.def
@@ -0,0 +1,8 @@
+help: Show scheduled shutdown
+run: if [ -f /var/run/shutdown.pid ]
+ then if [ -r /tmp/shutdown.at ]
+ then echo -n "Shutdown pending at"; cat /tmp/shutdown.at
+ else echo "Shutdown pending"
+ fi
+ else echo "No shutdown pending"
+ fi