logo       

network/dhcpcd.sh: msg#00030

t2.devel

Subject: network/dhcpcd.sh


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>
Google Custom Search

News | FAQ | advertise