repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
busybox: update to 1.25.0
[tomato.git]
/
release
/
src
/
router
/
busybox
/
examples
/
var_service
/
zcip_if
/
run
blob
94a8754650e8c2cc22847bc877d0b8aa9306ea78
1
#!/bin/sh
2
3
exec
2
>&
1
4
exec
</
dev
/
null
5
6
pwd
=
"
$PWD
"
7
8
if
=
"
${PWD##*/zcip_}
"
9
10
echo
"* Upping iface
$if
"
11
ip link
set
dev
"
$if
"
up
12
13
echo
"* Starting zcip"
14
exec
\
15
env
-
PATH
=
"
$PATH
"
\
16
softlimit \
17
setuidgid root \
18
zcip
-fvv
\
19
"
$if
"
\
20
"
$pwd
/zcip_handler"