aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-24 18:10:21 +0200
committerficus <ficus@robocracy.org>2012-09-24 18:10:21 +0200
commita5f4f19a0369cc6d20e6da26434e0b78e38b12a5 (patch)
treeb7a21fe10fc0d7ac8b8285bea4c9d86173060a59 /debian
parent460641370114eb380c10d9b6bed34ed2c9b4735e (diff)
downloadtui-a5f4f19a0369cc6d20e6da26434e0b78e38b12a5.tar.gz
tui-a5f4f19a0369cc6d20e6da26434e0b78e38b12a5.zip
add default args to init.d script
Diffstat (limited to 'debian')
-rw-r--r--debian/torouterui.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/torouterui.init b/debian/torouterui.init
index 26ff519..d28e2d4 100644
--- a/debian/torouterui.init
+++ b/debian/torouterui.init
@@ -11,6 +11,7 @@
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
DAEMON=/usr/bin/torouterui
+ARGS="--host 0.0.0.0 --port 80 --lanif eth1 --wanif eth0 --wifiif uap0"
PIDFILE=/var/run/torouterui.pid
[ -x "$DAEMON" ] || exit 0
@@ -20,7 +21,7 @@ PIDFILE=/var/run/torouterui.pid
case "$1" in
start)
log_daemon_msg "Starting torouter Web Configuration Interface" "torouterui"
- start-stop-daemon --start -b -m --pidfile $PIDFILE --exec $DAEMON
+ start-stop-daemon --start -b -m --pidfile $PIDFILE --exec $DAEMON -- $ARGS
log_end_msg 0
;;
restart|force-reload)