I changed the path of egrep

This commit is contained in:
sven 2017-08-24 19:33:53 +02:00 committed by GitHub
parent 8317f3912c
commit b9a40f9b3a

View File

@ -27,7 +27,7 @@ if [ -f /tmp/${IF}up ] && [ -f /conf/${IF}.log ]; then
/usr/local/sbin/ppp-log-uptime.sh $seconds ${IF} &
fi
if echo "${IF}" | egrep -qv "ppp[0-9]+"; then
if echo "${IF}" | /usr/bin/egrep -qv "ppp[0-9]+"; then
/etc/rc.kill_states ${IF} ${LOCAL_IP}
fi