wok-current annotate busybox/stuff/zcip.script @ rev 7409
Add libsdl-pango. Needed for frozen-bubble.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 27 19:11:15 2010 +0000 (2010-11-27) |
parents | 72fa50265748 |
children |
rev | line source |
---|---|
pascal@937 | 1 #!/bin/sh |
pascal@937 | 2 |
pascal@937 | 3 [ "$1" = "init" ] && exit 0 |
pascal@937 | 4 [ -n "$ip" ] || exit 1 |
pascal@937 | 5 case "$1" in |
pascal@1770 | 6 config) ifconfig $interface $ip netmask 255.255.0.0 up |
pascal@1770 | 7 for i in /etc/ipup.d/*; do |
pascal@1770 | 8 [ -e $i ] && . $i $interface $ip |
pascal@1770 | 9 done |
pascal@1770 | 10 ;; |
pascal@1770 | 11 deconfig) ifconfig $interface down |
pascal@1770 | 12 for i in /etc/ipdown.d/*; do |
pascal@1770 | 13 [ -e $i ] && . $i $interface |
pascal@1770 | 14 done |
pascal@1770 | 15 ;; |
pascal@937 | 16 *) exit 1;; |
pascal@937 | 17 esac |