diff --git a/bin/network-down b/bin/network-down index 66f084ee..ec12e1f6 100755 --- a/bin/network-down +++ b/bin/network-down @@ -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" diff --git a/bin/network-up b/bin/network-up index 693642cf..f238b750 100755 --- a/bin/network-up +++ b/bin/network-up @@ -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" diff --git a/bin/updates-available b/bin/updates-available index d39a4fba..bc1b4311 100755 --- a/bin/updates-available +++ b/bin/updates-available @@ -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` diff --git a/debian/changelog b/debian/changelog index aeeedfc3..af9d6de6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 15 May 2009 17:16:44 +0100 + -- Dustin Kirkland Sat, 16 May 2009 20:19:38 +0100 byobu (2.3-0ubuntu1) karmic; urgency=low