busybox: update to 1.25.0
[tomato.git] / release / src / router / busybox / examples / var_service / zcip_if / run
blob94a8754650e8c2cc22847bc877d0b8aa9306ea78
1 #!/bin/sh
3 exec 2>&1
4 exec </dev/null
6 pwd="$PWD"
8 if="${PWD##*/zcip_}"
10 echo "* Upping iface $if"
11 ip link set dev "$if" up
13 echo "* Starting zcip"
14 exec \
15 env - PATH="$PATH" \
16 softlimit \
17 setuidgid root \
18 zcip -fvv \
19 "$if" \
20 "$pwd/zcip_handler"