made '/usr/sbin' path customizable; perl-scripts will be substituted now
[util-vserver.git] / util-vserver / scripts / vps.subst
similarity index 97%
rename from util-vserver/scripts/vps
rename to util-vserver/scripts/vps.subst
index 0287bde..195ede0 100755 (executable)
@@ -42,7 +42,7 @@ if ($context == -1) {
    exit;
 }
 if ($context != 1) {
-   exec("/usr/sbin/chcontext --silent --ctx 1 $0 @ARGV");
+   exec("@SBINDIR@/chcontext --silent --ctx 1 $0 @ARGV");
    print "Can not execute chcontext\n";
    exit; # not reached
 }