From: Enrico Scholz Date: Tue, 20 Apr 2004 18:07:49 +0000 (+0000) Subject: use '--defaulttty' X-Git-Tag: VERSION_0_10~100 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df83ede51ed1e8552bfd6d7b6bc37eb059ce7c37;p=util-vserver.git use '--defaulttty' git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1481 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vshelper b/util-vserver/scripts/vshelper index 538d210..efcf482 100755 --- a/util-vserver/scripts/vshelper +++ b/util-vserver/scripts/vshelper @@ -54,11 +54,11 @@ function doInternalMethod case "$ACTION" in (restart) logging $"Restarting vserver '$VSERVER'" - execute $_VSERVER "$VSERVER" restart + execute $_VSERVER --defaulttty "$VSERVER" restart ;; (halt|poweroff) logging $"Stopping vserver '$VSERVER'" - execute $_VSERVER "$VSERVER" stop + execute $_VSERVER --defaulttty "$VSERVER" stop ;; (swsusp) ## TODO: any senseful action here? Perhaps shutdown scheduler for it?