mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* bin/network-down,network-up,updates-available: use /var/run/screen
for status cache files, to keep from waking up the disk Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
b3685ae359
commit
b99d33bef1
4 changed files with 7 additions and 5 deletions
|
@ -19,7 +19,7 @@
|
|||
|
||||
PKG="byobu"
|
||||
|
||||
cache="$HOME/.$PKG/network-down"
|
||||
cache="/var/run/screen/S-$USER/$PKG.network-down"
|
||||
interface=`/sbin/route -n | tail -n 1 | sed "s/^.* //"`
|
||||
unit="kB/s"
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
PKG="byobu"
|
||||
|
||||
cache="$HOME/.$PKG/network-up"
|
||||
cache="/var/run/screen/S-$USER/$PKG.network-up"
|
||||
|
||||
interface=`/sbin/route -n | tail -n 1 | sed "s/^.* //"`
|
||||
unit="kB/s"
|
||||
|
|
|
@ -52,8 +52,8 @@ print_updates() {
|
|||
exit 0
|
||||
}
|
||||
|
||||
cache=/var/run/updates-available
|
||||
mycache=$HOME/.$PKG/updates-available
|
||||
cache="/var/run/updates-available"
|
||||
mycache="/var/run/screen/S-$USER/$PKG.updates-available"
|
||||
now=`date +%s`
|
||||
cache_timestamp=`stat -c "%Y" $cache 2>/dev/null || echo 0`
|
||||
mycache_timestamp=`stat -c "%Y" $mycache 2>/dev/null || echo 0`
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -14,6 +14,8 @@ byobu (2.4) unreleased; urgency=low
|
|||
colors look bad on the light* profiles
|
||||
* bin/ip-address: hostname -i doesn't always work, use ifconfig
|
||||
instead, LP: #376080
|
||||
* bin/network-down,network-up,updates-available: use /var/run/screen
|
||||
for status cache files, to keep from waking up the disk
|
||||
* byobu-export: tar files with owner/group as root/root, LP: #371025
|
||||
* byobu, debian/install, motd+shell, profiles/byoburc: launch screen
|
||||
with a simple config file that includes the chosen profile plus
|
||||
|
@ -27,7 +29,7 @@ byobu (2.4) unreleased; urgency=low
|
|||
[ David Duffey ]
|
||||
* rpm/byobu.spec: initial specfile for RH packaging
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 15 May 2009 17:16:44 +0100
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 16 May 2009 20:19:38 +0100
|
||||
|
||||
byobu (2.3-0ubuntu1) karmic; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue