diff options
author | makefu <github@syntax-fehler.de> | 2012-07-05 00:33:04 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2012-07-05 00:33:04 +0200 |
commit | 83bb287ea71617ce5bb1dd1d6b5a2daeaa953f86 (patch) | |
tree | abb367d5ef7ad032e9d2b3abfae61bd58362a9eb | |
parent | 8ef881f4cc499cb79fb427b0ce04c1c82d37125e (diff) |
//retiolum/update_tinc_hosts: grep -P --> egrep
avoid using experimental -P flag for gnu grep to support openwrt
-rwxr-xr-x | retiolum/bin/update_tinc_hosts | 2 |
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 |