default notify_osd to off for now

ensure that multiple tails don't get run if F5 refreshing profile
This commit is contained in:
Dustin Kirkland 2010-11-03 22:00:44 -05:00
commit 2062960983
3 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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"