From 51f0fe194b9885466127323b4cc607e1d3135175 Mon Sep 17 00:00:00 2001 From: sourabh gandhe Date: Mon, 19 Dec 2011 13:41:56 -0500 Subject: [PATCH] Changes init.d to take conf file parameters --- etc/init.d/whirlwind | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/init.d/whirlwind b/etc/init.d/whirlwind index ecebcd2..7fb3e31 100644 --- a/etc/init.d/whirlwind +++ b/etc/init.d/whirlwind @@ -2,8 +2,8 @@ . /lib/lsb/init-functions -if [[ $1 == -c ]]; then - CONFIG_FILE=$2 +if [[ $2 == -c ]]; then + CONFIG_FILE=$3 else CONFIG_FILE=/etc/whirlwind.conf fi