Permalink
Browse files

Changes init.d to take conf file parameters

  • Loading branch information...
1 parent 0494c67 commit 51f0fe194b9885466127323b4cc607e1d3135175 sourabh gandhe committed Dec 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 51f0fe1

Please sign in to comment.