Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 502 → Rev 503

/scripts/sbin/alcasar-uninstall.sh
133,13 → 133,13
sleep 1
 
#DnsMasq
echo -en "\n- dnsmasq(4) : "
echo -en "\n- dnsmasq(3) : "
if [ -e /etc/init.d/dnsmasq ]
then
[ -e /etc/dnsmasq.conf.default ] && mv /etc/dnsmasq.conf.default /etc/dnsmasq.conf && echo -n "1, "
[ -e /etc/dnsmasq-forward.conf ] && rm -f /etc/dnsmasq-forward.conf && echo -n "2, "
[ -d /etc/dnsmasq.d ] && rm -rf /etc/dnsmasq.d && echo -n "3, "
[ -e /etc/init.d/dnsmasq.default ] && mv /etc/init.d/dnsmasq.default /etc/init.d/dnsmasq && echo -n "4"
[ -d /etc/dnsmasq.d ] && rm -rf /etc/dnsmasq.d
[ -e /etc/init.d/dnsmasq.default ] && mv /etc/init.d/dnsmasq.default /etc/init.d/dnsmasq && echo -n "3"
else echo -n "non installé"
fi
sleep 1
/scripts/sbin/alcasar-bl.sh
155,7 → 155,7
service dnsmasq stop
sleep 1
service dnsmasq start
;
;;
*)
echo "Argument inconnu :$1";
echo "$usage"