=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== uanytun-0.3.7/etc/init.d/uanytun-31- test -f $CONFIG_DIR/$VPNNAME/post-up.sh && POSTUP="-x $CONFIG_DIR/$VPNNAME/post-up.sh" uanytun-0.3.7/etc/init.d/uanytun:32: CHROOTDIR=`grep '^chroot' < $CONFIG_DIR/$VPNNAME/config | sed 's/chroot\s*//'` uanytun-0.3.7/etc/init.d/uanytun-33- if [ -n "$CHROOTDIR" ] ; then ############################################## uanytun-0.3.7/etc/init.d/uanytun-36- test -d $VARRUN_DIR || mkdir -p $VARRUN_DIR uanytun-0.3.7/etc/init.d/uanytun:37: DAEMONARG=`sed 's/#.*//' < $CONFIG_DIR/$VPNNAME/config | grep -e '\w' | sed 's/^/--/' | tr '\n' ' '` uanytun-0.3.7/etc/init.d/uanytun-38- $DAEMON --write-pid $VARRUN_DIR/$VPNNAME.pid $POSTUP $DAEMONOPTS $DAEMONARG || STATUS="FAILED" ############################################## uanytun-0.3.7/etc/init.d/uanytun-44-stop_vpn () { uanytun-0.3.7/etc/init.d/uanytun:45: kill `cat $PIDFILE` || true uanytun-0.3.7/etc/init.d/uanytun-46- rm $PIDFILE ############################################## uanytun-0.3.7/etc/init.d/uanytun-54- if [ -f $CONFIG_DIR/autostart ] ; then uanytun-0.3.7/etc/init.d/uanytun:55: for VPNNAME in `sed 's/#.*//' < $CONFIG_DIR/autostart | grep -e '\w'`; do uanytun-0.3.7/etc/init.d/uanytun-56- echo -n " $VPNNAME" ############################################## uanytun-0.3.7/etc/init.d/uanytun-75- if test -z "$2" ; then uanytun-0.3.7/etc/init.d/uanytun:76: for PIDFILE in `ls $VARRUN_DIR/*.pid 2> /dev/null`; do uanytun-0.3.7/etc/init.d/uanytun:77: VPNNAME=`basename $PIDFILE .pid` uanytun-0.3.7/etc/init.d/uanytun-78- echo -n " $VPNNAME" ############################################## uanytun-0.3.7/etc/init.d/uanytun-84- if test -e $VARRUN_DIR/$1.pid ; then uanytun-0.3.7/etc/init.d/uanytun:85: PIDFILE=`ls $VARRUN_DIR/$1.pid 2> /dev/null` uanytun-0.3.7/etc/init.d/uanytun:86: VPNNAME=`basename $PIDFILE .pid` uanytun-0.3.7/etc/init.d/uanytun-87- echo -n " $VPNNAME" ############################################## uanytun-0.3.7/etc/init.d/uanytun-98- if test -z "$2" ; then uanytun-0.3.7/etc/init.d/uanytun:99: for PIDFILE in `ls $VARRUN_DIR/*.pid 2> /dev/null`; do uanytun-0.3.7/etc/init.d/uanytun:100: VPNNAME=`basename $PIDFILE .pid` uanytun-0.3.7/etc/init.d/uanytun-101- echo -n " $VPNNAME" ############################################## uanytun-0.3.7/etc/init.d/uanytun-108- if test -e $VARRUN_DIR/$1.pid ; then uanytun-0.3.7/etc/init.d/uanytun:109: PIDFILE=`ls $VARRUN_DIR/$1.pid 2> /dev/null` uanytun-0.3.7/etc/init.d/uanytun:110: VPNNAME=`basename $PIDFILE .pid` uanytun-0.3.7/etc/init.d/uanytun-111- echo -n " $VPNNAME"