aboutsummaryrefslogtreecommitdiff
path: root/templates/vserver/vserver.d/etc/rc.d/rc
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-02-09 16:44:20 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-02-09 16:44:20 +0000
commitbd5a14836a8967b9ff8b8ed1c14a0b1d8289ea52 (patch)
treeec801fc9d595e3cf483c564f0d1d9a0f6858ba52 /templates/vserver/vserver.d/etc/rc.d/rc
parentf7595585fae0e0844877ad111388837aaf74028b (diff)
downloadsimplepkg-bd5a14836a8967b9ff8b8ed1c14a0b1d8289ea52.tar.gz
simplepkg-bd5a14836a8967b9ff8b8ed1c14a0b1d8289ea52.tar.bz2
lots of changes:
- jail-update renamed to jail-commit - mkjail, jail-commit and templatepkg with svn support - templates now has permission tracking - etc git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@164 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'templates/vserver/vserver.d/etc/rc.d/rc')
-rwxr-xr-xtemplates/vserver/vserver.d/etc/rc.d/rc11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/vserver/vserver.d/etc/rc.d/rc b/templates/vserver/vserver.d/etc/rc.d/rc
new file mode 100755
index 0000000..eefbcc5
--- /dev/null
+++ b/templates/vserver/vserver.d/etc/rc.d/rc
@@ -0,0 +1,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
+