florian d1d930e930 [package] add madwimax (#6167)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-20 11:43:38 +00:00

23 lines
629 B
Bash

#!/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