From 546354758b9a532912651b047fab6a23f0cb0a3c Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 31 Jul 2006 20:54:39 +0000 Subject: initial import git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@1 04377dda-e619-0410-9926-eae83683ac58 --- templates/vserver.d/etc/rc.d/rc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 templates/vserver.d/etc/rc.d/rc (limited to 'templates/vserver.d/etc/rc.d/rc') diff --git a/templates/vserver.d/etc/rc.d/rc b/templates/vserver.d/etc/rc.d/rc new file mode 100755 index 0000000..eefbcc5 --- /dev/null +++ b/templates/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