From d4492c53e1fb76d013f67d75f5cbb9c436fc2c29 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 7 Mar 2018 09:45:09 +0000 Subject: main/dhcp: use /bin/sh instead of bash in client-script The script seems to be posix shell compatible so we only need to change the shebang to #!/bin/sh This way we avoid the bash dependency --- main/dhcp/dhclient-script-fix-bare-ip.patch | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'main/dhcp/dhclient-script-fix-bare-ip.patch') diff --git a/main/dhcp/dhclient-script-fix-bare-ip.patch b/main/dhcp/dhclient-script-fix-bare-ip.patch index c325a17fe5..4c8ecc2e4f 100644 --- a/main/dhcp/dhclient-script-fix-bare-ip.patch +++ b/main/dhcp/dhclient-script-fix-bare-ip.patch @@ -1,7 +1,14 @@ -diff -ur a/client/scripts/linux b/client/scripts/linux ---- a/client/scripts/linux 2017-07-25 09:39:54.000000000 -0400 -+++ b/client/scripts/linux 2018-01-23 08:17:42.569366100 -0500 -@@ -345,7 +345,7 @@ +diff --git a/client/scripts/linux b/client/scripts/linux +index 0c42969..3214eb6 100755 +--- a/client/scripts/linux ++++ b/client/scripts/linux +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # dhclient-script for Linux. Dan Halbert, March, 1997. + # Updated for Linux 2.[12] by Brian J. Murrell, January 1999. + # No guarantees about this. I'm a novice at the details of Linux +@@ -394,7 +394,7 @@ case "$reason" in make_resolv_conf else # flush all IPs from interface -- cgit v1.2.3