diff options
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 |