OK, it’s not really much more scriptable ;)
Basically the dhcpcd binary now only configures the interface and routes - everything else is configured by /etc/dhcpcd.sh
Yes, this means dhcpcd will finally install a script! This makes it easier for the end user to change, as scripting in UNIX is common place, whereas hacking C code not so. The script does everything dhcpcd did, bar looking up the hostname in DNS (hopefully add this back soon), so in essence we’ve lost nothing but gained more flexability.
OK, no-one likes big code drops. But I’ve just dropped a large one into dhcpcd git. Here’s the commit message
Normally I hate massive code drops, but heh. The code has been drastically re-arranged. Instead of populating a custom structure while parsing dhcp messages, we now pluck what we need right out of the message itself. We have custom functions and a lookup table to make this really easy. This makes us more like dhclient and udhcpc, and will enable us to easily add (and remove!
Good clean toilet related fun :jawdrop:Those wacky Japanese eh!I’d like to know if that’s also an accessory to the rumoured Leisure Suit Larry game on Wii …… ;)