diff options
-rw-r--r-- | templates/shutdown/at/node.tag/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shutdown/at/node.tag/node.def b/templates/shutdown/at/node.tag/node.def index 94cd332..8760fea 100644 --- a/templates/shutdown/at/node.tag/node.def +++ b/templates/shutdown/at/node.tag/node.def @@ -1,5 +1,5 @@ help: Shutdown the system at a future time allowed: echo -n '<HH:MM>' '<MMDDYY>' '+MM' run: if /opt/vyatta/bin/vyatta-gettime.pl $3 >/tmp/shutdown.at - then sudo /sbin/shutdown -h $3 & + then nohup sudo /sbin/shutdown -h $3 </dev/null >/dev/null 2>&1 fi |