From bd5a14836a8967b9ff8b8ed1c14a0b1d8289ea52 Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 9 Feb 2007 16:44:20 +0000 Subject: 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 --- templates/vserver/vserver.d/etc/rc.d/rc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 templates/vserver/vserver.d/etc/rc.d/rc (limited to 'templates/vserver/vserver.d/etc/rc.d/rc') 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 + -- cgit v1.2.3