We currently migrate to MediaWiki from our old installation, but not all content has been migrated yet. Take a look at the Wiki Team page for instructions how to help or browse through our new wiki at wiki.linux-vserver.org to find the information already migrated.
<code>
confdir=/etc/vservers
if [ -z $1 ]; then echo
echo "usage: vserver-autostart <guestname> [<level>]"
echo "If you want to use other levels than default,"
echo "you need to modify the init script first."
echo "To disable autostart, set the level to \"none\"."
exit 0
fi
if [ ! -e $confdir/$1 ]; then
echo "The guest $1 does probably not exist"
echo "or you are not using newstyle-config."
exit 1
fi
if [ -e $confdir/$1/apps/init/mark ]; then
rm $confdir/$1/apps/init/mark
exit 0;
else
echo "Cannot remove autostart mark, because this guest was not set to autostart." ;
fi
elif [ -z $2 ]; then
# set the start level
level="default";
else
level=$2;
fi
</code>