12 test x
"${reaim:-NO}" = x
"NO" && exit 0
13 test x
"$reaim" = x
"DAEMON" && test -x /bin
/mksh
&& exec mksh
-T- $0 start
17 $IPT -A input_rule
-i $WAN -p tcp
--dport 1863:1864 -j ACCEPT
18 $IPT -A input_rule
-i $WAN -p tcp
--dport 4443 -j ACCEPT
19 $IPT -A input_rule
-i $WAN -p tcp
--dport 5566 -j ACCEPT
20 $IPT -A input_rule
-i $WAN -p tcp
--dport 40000:40099 -j ACCEPT
24 kill $
(pgrep
-f /usr
/sbin
/reaim
)
31 echo "Usage: $0 {start | stop | restart}"