use setDefaultTTY()
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 20 Apr 2004 18:07:27 +0000 (18:07 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 20 Apr 2004 18:07:27 +0000 (18:07 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1480 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver.stop

index 878a163..82e7aa6 100644 (file)
@@ -45,6 +45,8 @@ cd "$VSERVER_DIR"/vdir/
 execScriptlets    "$VSERVER_DIR" "$VSERVER_NAME" pre-stop
 cd "$VSERVER_DIR"/vdir/
 
+test -z "$OPTION_DEFAULTTTY" || setDefaultTTY
+
 fail=
 if test "$_IS_FAKEINIT" && \
    $_VSERVER_INFO - FEATURE vkill && \