diff options
author | tcely <tcely@users.noreply.github.com> | 2018-08-03 20:48:05 -0400 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-02-08 09:46:19 +0000 |
commit | 23fac33a7652137d3ae308436229dd6edb9940f6 (patch) | |
tree | e2c1df4e9b45b6a34b3f2a3de02449948562d097 /main/dhcp/dhclient-script-fix-bare-ip.patch | |
parent | 0a859defe7146331cd48ef213f5b44f5e331ab87 (diff) | |
download | aports-23fac33a7652137d3ae308436229dd6edb9940f6.tar.bz2 aports-23fac33a7652137d3ae308436229dd6edb9940f6.tar.xz |
main/dhcp: remove bashisms from dhclient-script
Diffstat (limited to 'main/dhcp/dhclient-script-fix-bare-ip.patch')
-rw-r--r-- | main/dhcp/dhclient-script-fix-bare-ip.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/main/dhcp/dhclient-script-fix-bare-ip.patch b/main/dhcp/dhclient-script-fix-bare-ip.patch deleted file mode 100644 index 4c8ecc2e4f..0000000000 --- a/main/dhcp/dhclient-script-fix-bare-ip.patch +++ /dev/null @@ -1,19 +0,0 @@ -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 -- ip -4 addr flush dev ${interface} -+ ${ip} -4 addr flush dev ${interface} - exit_with_hooks 2 - fi - |