I use them as follows: (you can use them to do whatever you like)
"start") echo 1 >/proc/sys/net/ipv4/conf/all/forwarding ./ifup ifcfg-${device} /sbin/irdaipcfg ${localnet} ${device} ;; "stop") host=`cat /var/run/host.${device}` if [ .$host != . ]; then /sbin/arp -d ${host} dev ${localnet} /sbin/route delete ${host} dev ${device} fi ./ifdown ifcfg-${device} /sbin/ifconfig ${device} down ;; |