aboutsummaryrefslogtreecommitdiff
path: root/templates/vserver/vserver.d/etc/rc.d/rc
blob: eefbcc54b97c903b5e7f8daa6ba18e07d2bceaea (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if [ "$1" == "3" ]; then
  /etc/rc.d/rc.M
elif [ "$1" == "6" ]; then
  /etc/rc.d/rc.6
else
  echo "Invalid level."
  exit 1
fi