diff options
author | Roy Marples <roy@marples.name> | 2008-03-03 17:19:56 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-03 17:19:56 +0000 |
commit | 15cf41e7131cebbb74241180f36f59384c7a0477 (patch) | |
tree | 30accca041088b161a4d5cfcb731dcd40a496868 /sh.Linux | |
parent | f3e90dddbfcf838b653846cce7fd2be479c68900 (diff) |
Split VPS into VSERVER and OPENVZ
Diffstat (limited to 'sh.Linux')
-rw-r--r-- | sh.Linux/init.sh.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sh.Linux/init.sh.in b/sh.Linux/init.sh.in index 90dbea82..190f8f17 100644 --- a/sh.Linux/init.sh.in +++ b/sh.Linux/init.sh.in @@ -65,7 +65,7 @@ mount_svcdir() # Set the console loglevel to 1 for a cleaner boot # the logger should anyhow dump the ring-0 buffer at start to the # logs, and that with dmesg can be used to check for problems -if [ -n "${dmesg_level}" -a "${RC_SYS}" != "VPS" ]; then +if [ -n "${dmesg_level}" -a "${RC_SYS}" != "VSERVER" ]; then dmesg -n "${dmesg_level}" fi @@ -108,7 +108,10 @@ if [ -r /sbin/livecd-functions.sh ]; then livecd_read_commandline fi -if [ "${RC_UNAME}" != "GNU/kFreeBSD" -a "${RC_SYS}" != "VPS" ]; then +if [ "${RC_UNAME}" != "GNU/kFreeBSD" \ + -a "${RC_SYS}" != "VSERVER" \ + -a "${RC_SYS}" != "OPENVZ" ] +then if grep -Eq "[[:space:]]+sysfs$" /proc/filesystems; then if [ -d /sys ]; then if ! mountinfo --quiet /sys; then @@ -128,7 +131,8 @@ fi # Try to figure out how the user wants /dev handled if [ "${rc_devices}" = "static" \ - -o "${RC_SYS}" = "VPS" \ + -o "${RC_SYS}" = "VSERVER" \ + -o "${RC_SYS}" = "OPENVZ" \ -o "${RC_UNAME}" = "GNU/kFreeBSD" ] then ebegin "Using existing device nodes in /dev" |