wok view busybox/stuff/zcip.script @ rev 8869

Fix: libgtkimageview TARBALL/WGET_URL... If you had error './configure not found', you have to remove the corrupted tarball from SOURCES_REPOSITORY, named gtkimageview-1.6.4.taz.lzma
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 26 06:06:17 2011 +0100 (2011-02-26)
parents 72fa50265748
children
line source
1 #!/bin/sh
3 [ "$1" = "init" ] && exit 0
4 [ -n "$ip" ] || exit 1
5 case "$1" in
6 config) ifconfig $interface $ip netmask 255.255.0.0 up
7 for i in /etc/ipup.d/*; do
8 [ -e $i ] && . $i $interface $ip
9 done
10 ;;
11 deconfig) ifconfig $interface down
12 for i in /etc/ipdown.d/*; do
13 [ -e $i ] && . $i $interface
14 done
15 ;;
16 *) exit 1;;
17 esac