mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
- fix flag path; simplify coloring
* usr/lib/byobu/reboot_required:
This commit is contained in:
parent
e00d2f7652
commit
0f46cd5a6a
2 changed files with 4 additions and 2 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -70,6 +70,8 @@ byobu (4.30) unreleased; urgency=low
|
|||
* usr/lib/byobu/reboot_required, usr/share/man/man1/byobu.1:
|
||||
- add .zZ symbol for powernap state, per feedback at LinuxConNA in
|
||||
Vancouver
|
||||
- fix flag path; simplify coloring
|
||||
* usr/lib/byobu/reboot_required:
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 11 Aug 2011 10:31:31 -0500
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
REBOOT_FLAG="/var/run/reboot-required"
|
||||
RELOAD_FLAG="$BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/reload-required"
|
||||
POWERNAP_FLAG="/var/run/powernap.state"
|
||||
POWERNAP_FLAG="/var/run/powernap/powersave"
|
||||
|
||||
__reboot_required_detail() {
|
||||
[ -e "$REBOOT_FLAG" ] && ls -alF "$REBOOT_FLAG" 2>&1
|
||||
|
@ -38,7 +38,7 @@ __reboot_required() {
|
|||
color b W; printf "<"; color -; color b b W; printf "F5"; color -; color b W; printf ">"; color -; printf " "
|
||||
fi
|
||||
if [ -e "$POWERNAP_FLAG" ]; then
|
||||
color b W; printf ".zZ"; color -; printf " "
|
||||
color b W; printf ".zZ"; color --
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue