summaryrefslogtreecommitdiffstats
path: root/retiolum/bin
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2012-07-05 00:33:04 +0200
committermakefu <github@syntax-fehler.de>2012-07-05 00:33:04 +0200
commit83bb287ea71617ce5bb1dd1d6b5a2daeaa953f86 (patch)
treeabb367d5ef7ad032e9d2b3abfae61bd58362a9eb /retiolum/bin
parent8ef881f4cc499cb79fb427b0ce04c1c82d37125e (diff)
//retiolum/update_tinc_hosts: grep -P --> egrep
avoid using experimental -P flag for gnu grep to support openwrt
Diffstat (limited to 'retiolum/bin')
-rwxr-xr-xretiolum/bin/update_tinc_hosts2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/bin/update_tinc_hosts b/retiolum/bin/update_tinc_hosts
index b3529a7f..7be30c2a 100755
--- a/retiolum/bin/update_tinc_hosts
+++ b/retiolum/bin/update_tinc_hosts
@@ -17,7 +17,7 @@ es='# END OF RETIOLUM'
case "${*-I am made of stupid}" in
(start|restart)
- hosts | grep -P "^(10|42)" | $0 replace magic
+ hosts | egrep "^(10|42)" | $0 replace magic
;;
(stop)
$0 clear magic