[gobolinux-devel] fixed DHCPNetworkInterface script

Hi There goboster at yahoo.com
Fri Jan 19 21:06:25 UTC 2007


Like a couple of other people on the gobo-users list,
I have been having problems with my network
connection. I traced the problem to the dhcpcd process
lock not being cleaned up on some restarts/shutdowns.
I found the problem in the DHCPNetworkInterface
script: the dhcpcd -k command doesn't tell the daemon
to stop, it just clears the cache. So dhcpcd was only
shutting down cleanly when it had enough time between
"Sending all processes the TERM signal" and the
computer actually turning off. According to the man
pages, properly stopping the daemon is done by sending
it the TERM signal.

So, I've attached fixed versions of the script. One is
short and simple, the other gives some indication as
to what's actually taking place. Use whichever you
want. Both work fine on my system.
:)


 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DHCPNetworkInterface-verbose
Type: application/x-shellscript
Size: 1781 bytes
Desc: 1181050313-DHCPNetworkInterface-verbose
Url : http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20070119/65ccfcdf/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DHCPNetworkInterface-succint
Type: application/x-shellscript
Size: 928 bytes
Desc: 3644278059-DHCPNetworkInterface-succint
Url : http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20070119/65ccfcdf/attachment-0001.bin 


More information about the gobolinux-devel mailing list