diff --git a/etc/byobu/statusrc b/etc/byobu/statusrc index 3191d193..c4d687b6 100644 --- a/etc/byobu/statusrc +++ b/etc/byobu/statusrc @@ -41,7 +41,7 @@ mem_available=1 mem_used=1 menu=1 network=0 -notify_osd=1 +notify_osd=0 processes=0 rcs_cost=0 reboot_required=1 diff --git a/usr/bin/byobu-config b/usr/bin/byobu-config index 2ac5af21..29f35e93 100755 --- a/usr/bin/byobu-config +++ b/usr/bin/byobu-config @@ -308,7 +308,7 @@ def readstatus(): status["mem_used"]=1 status["menu"]=1 status["network"]=0 - status["notify_osd"]=1 + status["notify_osd"]=0 status["processes"]=0 status["rcs_cost"]=0 status["reboot_required"]=1 diff --git a/usr/lib/byobu/notify_osd b/usr/lib/byobu/notify_osd index e1812cd3..b1ea4f48 100755 --- a/usr/lib/byobu/notify_osd +++ b/usr/lib/byobu/notify_osd @@ -30,4 +30,6 @@ esac # This line operates basically as a daemon, watching the notify-osd log file, # processing new messages and sending them to screen -tail --pid $PPID -n 0 -F $LOG | $BYOBU_PREFIX/lib/byobu/.notify_osd "$PPID" +CMD="tail --pid $PPID -n 0 -F $LOG" +pkill -f "$CMD" || true +$CMD | $BYOBU_PREFIX/lib/byobu/.notify_osd "$PPID"