aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-25 15:42:30 +0000
committerRoy Marples <roy@marples.name>2007-04-25 15:42:30 +0000
commit6ba6f0403f953d14653e69b5528b2ffe68e2c30e (patch)
treeb22f89f741c3ff49dc4fae39889dfaa703b79c45
parentb1d9fd4f6fb8a74c0f49e6cc14f641a94b8be6cb (diff)
Fix vservers
-rwxr-xr-xsh.Linux/init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh
index 6c5c612d..616c98d2 100755
--- a/sh.Linux/init.sh
+++ b/sh.Linux/init.sh
@@ -136,7 +136,7 @@ fi
[ "$(KV_to_int "$(uname -r)")" -ge "$(KV_to_int "2.6.0")" ]
K26=$?
-if [ "${RC_UNAME}" != "GNU/kFreeBSD" -a "${RC_NAME}" != "VPS" -a "${K26}" = "0" ] ; then
+if [ "${RC_UNAME}" != "GNU/kFreeBSD" -a "${RC_SYS}" != "VPS" -a "${K26}" = "0" ] ; then
if [ -d /sys ] ; then
ebegin "Mounting sysfs at /sys"
mntcmd="$(fstabinfo --mountcmd /sys)"