aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kubaryk <kurly@vt.edu>2023-04-17 05:34:36 +0100
committerSam James <sam@gentoo.org>2023-04-17 05:35:08 +0100
commita43884bca4b34b8649574fb3ea85a2a658fd0a6f (patch)
tree22b4b6043b64e46e19b5ae9f778e200f9a01534f
parentnet/arping.sh: adapt to new arping path in /usr/bin (diff)
downloadnetifrc-a43884bca4b34b8649574fb3ea85a2a658fd0a6f.tar.gz
netifrc-a43884bca4b34b8649574fb3ea85a2a658fd0a6f.tar.bz2
netifrc-a43884bca4b34b8649574fb3ea85a2a658fd0a6f.zip
net/dhcpcd.sh: adapt to dhcpcd-10 versioning
Closes: https://bugs.gentoo.org/904422 Signed-off-by: Greg Kubaryk <kurly@vt.edu> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--net/dhcpcd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh
index 1380944..6bd44ba 100644
--- a/net/dhcpcd.sh
+++ b/net/dhcpcd.sh
@@ -32,7 +32,7 @@ dhcpcd_start()
[ -z "${opts}" ] && opts=${dhcp}
case "$(dhcpcd --version | head -n 1)" in
- "dhcpcd "[123]*)
+ "dhcpcd "[123]\.*)
eerror 'The dhcpcd version is too old. Please upgrade.'
return 1
;;