Umm, what?
[util-vserver.git] / scripts / vserver-build.functions
index f615cad..f3536d7 100644 (file)
@@ -44,6 +44,8 @@ function makeDevEntry
        (f)     touch "$dst"
                chmod $4 "$dst"
                ;;
+       (l)     ln -s "$4" "$dst"
+               ;;
        (*)     echo "Unknown dev-entry mode '$3'" >&2
                false
                ;;
@@ -278,5 +280,5 @@ function startSleepingGuest
 function stopSleepingGuest
 {
     local guest="$1"
-    $_VKILL --xid "$guest" -s INT -- 0
+    $_VSERVER "$guest" stop --rescue-init
 }