wanpipe/util/wancfg_zaptel/uninstall.sh

14 lines
211 B
Bash
Raw Normal View History

2021-12-29 16:59:00 +00:00
#!/bin/sh
WAN_VIRTUAL=$2
WZDIR=${1:-usr/local/sbin/wancfg_zaptel}
if [ -z $WZDIR ]; then
echo "Directory not found $WZDIR"
exit 1
fi
2021-12-29 17:48:22 +00:00
if [ -d $WAN_VIRTUAL/$WZDIR ]; then
rm -f $WAN_VIRTUAL/$WZDIR/*
2021-12-29 16:59:00 +00:00
fi