summaryrefslogtreecommitdiffstats
path: root/src/connections/ethernet
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections/ethernet')
-rw-r--r--src/connections/ethernet8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/connections/ethernet b/src/connections/ethernet
index 8665816..3e4a992 100644
--- a/src/connections/ethernet
+++ b/src/connections/ethernet
@@ -230,8 +230,8 @@ ethernet_down() {
report_debug ethernet_down dhclient -q -r "$INTERFACE"
dhclient -q -x "$INTERFACE" &>/dev/null
#dhclient -q -r "$INTERFACE" &>/dev/null
- report_debug ethernet_down /bin/kill $(cat /run/dhclient-$INTERFACE.pid)
- /bin/kill $(cat /run/dhclient-$INTERFACE.pid) &>/dev/null
+ report_debug ethernet_down /bin/kill $(< /run/dhclient-$INTERFACE.pid)
+ /bin/kill $(< /run/dhclient-$INTERFACE.pid) &>/dev/null
fi
else
if [[ -f "/run/dhcpcd-$INTERFACE.pid" ]]; then
@@ -244,8 +244,8 @@ ethernet_down() {
if [[ -f "/run/dhclient6-$INTERFACE.pid" ]]; then
report_debug ethernet_down dhclient -6 -q -x "$INTERFACE"
dhclient -6 -q -x "$INTERFACE" &>/dev/null
- report_debug ethernet_down /bin/kill $(cat /run/dhclient6-$INTERFACE.pid)
- /bin/kill $(cat /run/dhclient6-$INTERFACE.pid) &>/dev/null
+ report_debug ethernet_down /bin/kill $(< /run/dhclient6-$INTERFACE.pid)
+ /bin/kill $(< /run/dhclient6-$INTERFACE.pid) &>/dev/null
fi
fi