From 43cb18876beb3b7ea19537f9db314f4bc0d4ab1b Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Fri, 11 Apr 2008 19:49:54 +0000 Subject: working version with crypto --- etc/init.d/anytun | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/init.d') diff --git a/etc/init.d/anytun b/etc/init.d/anytun index 90d7670..64a3186 100644 --- a/etc/init.d/anytun +++ b/etc/init.d/anytun @@ -15,7 +15,7 @@ DAEMON=/usr/sbin/anytun ANYTUNCONFIG=/usr/bin/anytun-config CONTROLDAEMON=/usr/bin/anytun-controld CHROOTDIR='/var/run/anytun' -DAEMONOPTS="--chroot --username nobody --chroot-dir $CHROOTDIR" +# DAEMONOPTS="--chroot --username nobody --chroot-dir $CHROOTDIR" NAME=anytun DESC=anytun CONFIG_DIR=/etc/anytun @@ -59,9 +59,9 @@ start_configd () { $ANYTUNCONFIG $DAEMONARG >> $VARCONFIG_DIR/$NAME done CONTROLHOST=`sed 's/#.*//' < $CONFIG_DIR/$NAME/config | grep -e 'control-host' | sed 's/^/ --/'` - $CONTROLDAEMON -f $VARCONFIG_DIR/$NAME $CONTROLHOST \ + $CONTROLDAEMON -f $VARCONFIG_DIR/$NAME $DAEMONOPTS $CONTROLHOST \ --write-pid $VARCONFIG_DIR/$NAME.pid - rm -f $VARCONFIG_DIR/$NAME + # rm -f $VARCONFIG_DIR/$NAME fi } stop_configd () { -- cgit v1.2.3