packages/net/madwimax/files/20-madwimax

23 lines
629 B
Plaintext
Raw Normal View History

#!/bin/sh
case "$ACTION" in
add)
[ -n ${PRODUCT} ] &&
[ -n ${INTERFACE} ] &&
[ "${PRODUCT}" = "4e8/6761/1" ] &&
[ "${INTERFACE}" = "255/0/0" ] && {
/usr/sbin/madwimax -qofd
}
;;
remove)
[ -n ${PRODUCT} ] &&
[ -n ${INTERFACE} ] &&
[ "${PRODUCT}" = "4e8/6761/1" ] &&
[ "${INTERFACE}" = "255/0/0" ] && {
/usr/bin/killall madwimax
return 0
}
;;
esac