]> git.ipfire.org Git - thirdparty/lxc.git/commit
Adaptation to latest busybox
authorRachid Koucha <47061324+Rachid-Koucha@users.noreply.github.com>
Fri, 27 Dec 2019 07:49:00 +0000 (08:49 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 8 Jan 2020 14:19:23 +0000 (15:19 +0100)
commit3daa49d845b153dfb2012b61dba763cbc6e11374
tree69589f68caf23bb2fa62be901ec388208c536e2f
parent736d203638a9bbb64c05cd6f7f62a2f5d611f831
Adaptation to latest busybox

In busybox 1.30, the help of udhcpc for "-s" option changed:
--> busybox v1.27.2: -s,--script PROG Run PROG at DHCP events (default /usr/share/udhcpc/default.script)
--> busybox v1.30.1: -s PROG Run PROG at DHCP events (default /etc/udhcpc/default.script)
So, I changed the command line which extracts the script name to make it work for both versions

Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
templates/lxc-busybox.in