Skip to content
Commit a311013e authored by Haris Okanovic's avatar Haris Okanovic Committed by Richard Purdie
Browse files

dhcp: Workaround busybox limitation in Linux dhclient-script



Busybox's implementation of chown and chmod doesn't provide a
"--reference" option used in the latest version of dhclient-script.
This change works around that limitation by using stat to read
ownership and permissions flags and simple chown/chmod calls
supported in both coreutils and busybox.

Patch submitted upstream to ISC, tracked as bug 48771.

Signed-off-by: default avatarHaris Okanovic <haris.okanovic@ni.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 9f0e61f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment