|
network/dhcpcd.sh: msg#00030t2.devel
This is a multi-part message in MIME format. ============================================================ --- package/network/dhcpcd/rocknet_dhcpcd.sh c2cebd421c6a2f64c37f3f865716f5a49b5e1959 +++ package/network/dhcpcd/rocknet_dhcpcd.sh 1092f0ba2aec9d2d4995d9b4bd4e7e34aeba9b7a @@ -13,12 +13,12 @@ public_dhcpcd() { # --- T2-COPYRIGHT-NOTE-END --- public_dhcpcd() { - local pidfile=/etc/dhcpc/dhcpcd-$if.pid + local pidfile=/var/run/dhcpcd-$if.pid if [ -f $pidfile ]; then addcode up 5 4 "[ -f $pidfile -a ! -d /proc/\$( cat $pidfile ) ] && rm -f $pidfile" addcode down 5 4 "rm -f $pidfile" fi - addcode up 5 5 "/usr/sbin/dhcpcd -h $( hostname ) -d -D $if" + addcode up 5 5 "/sbin/dhcpcd -h $( hostname ) $if" addcode down 5 5 "[ -f $pidfile ] && kill -15 \$( cat $pidfile )" } |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: new package contribution - dtorrent: 00030, Michael Tross |
|---|---|
| Next by Date: | minit udev patch: 00030, Martin Papadopoulos |
| Previous by Thread: | rescue target udevi: 00030, Martin Papadopoulos |
| Next by Thread: | Re: network/dhcpcd.sh: 00030, Rene Rebe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |