]> git.ipfire.org Git - thirdparty/lxc.git/commit
Adaptation to latest busybox 3244/head
authorRachid Koucha <47061324+Rachid-Koucha@users.noreply.github.com>
Fri, 27 Dec 2019 07:49:00 +0000 (08:49 +0100)
committerGitHub <noreply@github.com>
Fri, 27 Dec 2019 07:49:00 +0000 (08:49 +0100)
commite76e315c1111d8361093c24ff5fabb5e3e292e26
treebc179a59252b61e9bfd3214e6d8460aa41edcec0
parentce150929956940052648e77d7f3c89569d2de8c7
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