Skip to content

Commit

Permalink
Changes init.d to take conf file parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sourabh gandhe committed Dec 19, 2011
1 parent 0494c67 commit 51f0fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/init.d/whirlwind
Expand Up @@ -2,8 +2,8 @@


. /lib/lsb/init-functions . /lib/lsb/init-functions


if [[ $1 == -c ]]; then if [[ $2 == -c ]]; then
CONFIG_FILE=$2 CONFIG_FILE=$3
else else
CONFIG_FILE=/etc/whirlwind.conf CONFIG_FILE=/etc/whirlwind.conf
fi fi
Expand Down

0 comments on commit 51f0fe1

Please sign in to comment.