Don't know if you're asking me or not, but here's the relevent line from
ifdown:

#       [ -n "`pidof -x dhcpcd`" ] && dhcpcd -k ${DEVICE}
        if [ -n "`pidof -x dhcpcd`" ]
        then
           ps aux | grep /sbin/dhcpcd | grep -v grep | awk '{print $2}' |
xargs kill -TERM
        fi

And for ifup:

       PUMPARGS='-d -R'

and also:

#    if /sbin/pump ${PUMPARGS} -i ${DEVICE} ; then
#       echo " done."
#    elif /sbin/dhcpcd ${DHCPCDARGS} ${DEVICE} ; then
#       echo " done."
    if /sbin/dhcpcd ${DHCPCDARGS} ${DEVICE} ; then
        echo " done."


-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Mon, 16 Oct 2000, Cokey de Percin wrote:

=>Would it be possible for you to share those scripts?  I'm just getting 
=>starting with VPN over cable here at home and was looking at automating 
=>some of that, but if you've already hammered it into submission, I'd 
=>greatly appreciate seeing them.
=>
=>Best
=>
=>Cokey 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to