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