12345678910111213141516171819202122232425262728293031 |
- #!/bin/sh
- source /jffs/scripts/aiop/aiop-dnsmasq
- case "${1}" in
- wl0.1)
- assign_ip "wl0.1" "192.168.2.1" "2" "254"
- ;;
- wl0.2)
- assign_ip "wl0.2" "192.168.3.1" "2" "254"
- ;;
- wl0.3)
- assign_ip "wl0.3" "192.168.4.1" "2" "254"
- ;;
- wl1.1)
- assign_ip "wl1.1" "192.168.5.1" "2" "254"
- ;;
- wl1.2)
- assign_ip "wl1.2" "192.168.6.1" "2" "254"
- ;;
- wl1.3)
- assign_ip "wl1.3" "192.168.7.1" "2" "254"
- ;;
- *)
- assign_ip "wl0.1" "192.168.2.1" "2" "254"
- assign_ip "wl0.2" "192.168.3.1" "2" "254"
- assign_ip "wl0.3" "192.168.4.1" "2" "254"
- assign_ip "wl1.1" "192.168.5.1" "2" "254"
- assign_ip "wl1.2" "192.168.6.1" "2" "254"
- assign_ip "wl1.3" "192.168.7.1" "2" "254"
- ;;
- esac
|