diff options
author | Jan Huwald <jh@sotun.de> | 2012-05-21 12:59:57 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2012-05-21 12:59:57 (GMT) |
commit | 0337aab936cc226729b40e8e96855378b82a093e (patch) | |
tree | 5c321ebe6a8134b7a06c1a8ed866be77d5b369fe /files/common | |
parent | de9938b28dbe7b7471b13251505326c77317bebc (diff) |
update hbbp
This patch handles the update of hbbp in the ffj-feed.
Diffstat (limited to 'files/common')
-rwxr-xr-x | files/common/etc/init.d/hbbp | 4 | ||||
-rwxr-xr-x | files/common/sbin/p2ptbl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/files/common/etc/init.d/hbbp b/files/common/etc/init.d/hbbp index 6fbcc86..c6daa1b 100755 --- a/files/common/etc/init.d/hbbp +++ b/files/common/etc/init.d/hbbp @@ -3,9 +3,9 @@ START=45 start() { cd /hbbp - listener br-mesh + hbbpd br-mesh } stop() { - killall listener + killall hbbpd } diff --git a/files/common/sbin/p2ptbl b/files/common/sbin/p2ptbl index 3c18855..341cecd 100755 --- a/files/common/sbin/p2ptbl +++ b/files/common/sbin/p2ptbl @@ -39,7 +39,7 @@ update () { if [ -n "$4" ]; then # broadcast update gzip <"$tmpfile" >"$tmpfile.gz" - broadcaster $4 p2ptbl/$(basename "$1") - <"$tmpfile.gz" + hbbpc $4 p2ptbl/$(basename "$1") - <"$tmpfile.gz" rm "$tmpfile.gz" fi rm "$tmpfile" @@ -84,7 +84,7 @@ gossip() { while [ $lc -ge 1 ]; do head -n$lc "$1.gossip" | gzip >"$1.gossip.gz" if [ $tgts -ge $(wc -c <"$1.gossip.gz") ]; then - broadcaster $if p2ptbl/$(basename "$1") - <"$1.gossip.gz" + hbbpc $if p2ptbl/$(basename "$1") - <"$1.gossip.gz" rm "$1.gossip" "$1.gossip.gz" return; fi |