summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-scripts/net.modules.d/helpers.d/dhcp')
-rwxr-xr-xnet-scripts/net.modules.d/helpers.d/dhcp6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-scripts/net.modules.d/helpers.d/dhcp b/net-scripts/net.modules.d/helpers.d/dhcp
index 3996c1a..133ffae 100755
--- a/net-scripts/net.modules.d/helpers.d/dhcp
+++ b/net-scripts/net.modules.d/helpers.d/dhcp
@@ -102,12 +102,12 @@ fi
# Configure our hostname - but only if we need it
if [[ -n ${hostname} ]]; then
- x=$( /bin/hostname )
- [[ ${x} == "(none)" || ${x} == "localhost" ]] && /bin/hostname "${hostname}"
+ x=$( hostname )
+ [[ ${x} == "(none)" || ${x} == "localhost" ]] && hostname "${hostname}"
fi
[[ ! -d "${statedir}/${interface}" ]] \
-&& mkdir -m 0755 -p "${statedir}/${interface}"
+ && mkdir -m 0755 -p "${statedir}/${interface}"
# Only setup the information we're told to
# By default that's everything