From 8ef881f4cc499cb79fb427b0ce04c1c82d37125e Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 5 Jul 2012 00:24:12 +0200 Subject: //retiolum -v flag not supported by old or retarded systems (openwrt) --- retiolum/bin/update-retiolum-hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum/bin') diff --git a/retiolum/bin/update-retiolum-hosts b/retiolum/bin/update-retiolum-hosts index 1fecfe15..2a379459 100755 --- a/retiolum/bin/update-retiolum-hosts +++ b/retiolum/bin/update-retiolum-hosts @@ -10,7 +10,7 @@ fi # cd //retiolum cd $(dirname $(readlink -f $0))/.. -mkdir -v -p /etc/tinc/retiolum/hosts +mkdir -p /etc/tinc/retiolum/hosts cp -v -r hosts/* /etc/tinc/retiolum/hosts pkill -HUP tincd pkill -ALRM tincd -- cgit v1.2.3 From 83bb287ea71617ce5bb1dd1d6b5a2daeaa953f86 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 5 Jul 2012 00:33:04 +0200 Subject: //retiolum/update_tinc_hosts: grep -P --> egrep avoid using experimental -P flag for gnu grep to support openwrt --- retiolum/bin/update_tinc_hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum/bin') 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 -- cgit v1.2.3