Debian Codegraph @

examples/var_service/dhcp_if/run

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 exec 2>&1
4 exec </dev/nullscip-shell filesystem . . `/dev/null`.
5
6 pwd="$PWD"
7
8 if="${PWD##*/dhcp_}"
9
10 echoscip-shell system . . echo. "* Upping iface $if"
11 ip link set dev "$if" up || exec sleep 5
12
13 echoscip-shell system . . echo. "* Starting udhcpc on $if [$$]"
14 exec \
15 env - PATH="$PATH" \
16 softlimit \
17 setuidgid root \
18 udhcpc -vv \
19 --hostname=null \
20 --foreground \
21 --interface="$if" \
22 --pidfile="$pwd/udhcpc.pid" \
23 --script="$pwd/dhcp_handler"