diff options
author | EUcancER <root@euer.krebsco.de> | 2012-07-16 16:40:40 +0200 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2012-07-16 16:40:40 +0200 |
commit | f26978c69e504fc82fabe84b78588ee59abd7518 (patch) | |
tree | c9b90bc63492648dc7f79ec46b1209bedb822f80 /retiolum/bin | |
parent | 3dcd5cf2a9650a8d91afbbfaab49ee054ddd6185 (diff) | |
parent | f1cd7451b628c6326c5327f6e3440e4ec68724f5 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/bin')
-rwxr-xr-x | retiolum/bin/update-retiolum-hosts | 2 | ||||
-rwxr-xr-x | retiolum/bin/update_tinc_hosts | 2 |
2 files changed, 2 insertions, 2 deletions
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 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 |