wanpipe/util/wancfg_zaptel/uninstall.sh

14 lines
211 B
Bash
Executable File

#!/bin/sh
WAN_VIRTUAL=$2
WZDIR=${1:-usr/local/sbin/wancfg_zaptel}
if [ -z $WZDIR ]; then
echo "Directory not found $WZDIR"
exit 1
fi
if [ -d $WAN_VIRTUAL/$WZDIR ]; then
rm -f $WAN_VIRTUAL/$WZDIR/*
fi