1
0
mirror of https://github.com/MichielDerhaeg/build-linux.git synced 2025-09-02 20:52:36 +02:00

Merge pull request #2 from iaddict/patch-1

Fix link for udhcpc/ to rc.d/
This commit is contained in:
Michiel Derhaeg
2017-05-04 16:53:45 +02:00
committed by GitHub

View File

@@ -578,7 +578,7 @@ $ cat /etc/init.d/udhcpc
#!/bin/sh #!/bin/sh
exec udhcpc -f -S exec udhcpc -f -S
$ chmod +x /etc/init.d/udhcpc/run $ chmod +x /etc/init.d/udhcpc/run
$ ln -s /etc/init.d/udhcpc/run /etc/rc.d $ ln -s /etc/init.d/udhcpc /etc/rc.d
``` ```
And we're done. Yes it's that simple. Note that udhcpc just asks for a lease And we're done. Yes it's that simple. Note that udhcpc just asks for a lease
from the DHCP server and that's it. When it has a lease it executes from the DHCP server and that's it. When it has a lease it executes