From 2b7a2596d1eca1248a1f851ed933d7ac9c3c0902 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 12 Mar 2009 10:38:34 -0700 Subject: Use nohup to avoid extra messages Don't want to expose fact shutdown is a background job --- templates/shutdown/at/node.tag/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/shutdown') 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 '' '' '+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 2>&1 fi -- cgit v1.2.3