logo       

Re: network/dhcpcd.sh: msg#00037

t2.devel

Subject: Re: network/dhcpcd.sh



This is a multi-part message in MIME format.
Hi,

On 11.09.2008, at 12:00, Martin Papadopoulos wrote:

============================================================
--- 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 )"
}


Committed revision 30440.

--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise