mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-24 07:06:19 -07:00
comment out nice and ionice calls; this *really* slows down startup
-- Dustin Kirkland <kirkland@ubuntu.com>Thu, 16 Apr 2009 12:51:38 -0500
This commit is contained in:
parent
9772f393f8
commit
fe60380a2d
2 changed files with 11 additions and 5 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -4,14 +4,15 @@ screen-profiles (1.45) unreleased; urgency=low
|
||||||
* bin/cpu-freq: fix for powerpc, fix for arm
|
* bin/cpu-freq: fix for powerpc, fix for arm
|
||||||
* bin/uptime: don't print seconds, since we don't update often enough
|
* bin/uptime: don't print seconds, since we don't update often enough
|
||||||
* screen-profiles-status: use home bin scripts, if available first,
|
* screen-profiles-status: use home bin scripts, if available first,
|
||||||
then fallback to system-wide, allows for local overrides
|
then fallback to system-wide, allows for local overrides; comment
|
||||||
|
out nice and ionice calls; this *really* slows down startup
|
||||||
* bin/*: route and ifconfig are in /sbin, fully qualify
|
* bin/*: route and ifconfig are in /sbin, fully qualify
|
||||||
* bin/release: eliminate one expensive lsb_release call
|
* bin/release: eliminate one expensive lsb_release call
|
||||||
|
|
||||||
[ Jon Bernard <bernardj@gmail.com> ]
|
[ Jon Bernard <bernardj@gmail.com> ]
|
||||||
* debian/control: fix typo in screen-profiles-extras description
|
* debian/control: fix typo in screen-profiles-extras description
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Apr 2009 12:42:52 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Apr 2009 12:51:38 -0500
|
||||||
|
|
||||||
screen-profiles (1.44-0ubuntu1) jaunty; urgency=low
|
screen-profiles (1.44-0ubuntu1) jaunty; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -17,9 +17,14 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# Let's try to be really "nice" about gathering status:
|
###########################################################
|
||||||
renice 10 $$ >/dev/null 2>&1 || true
|
# We should be really "nice" about gathering status:
|
||||||
ionice -c3 -p $$ >/dev/null 2>&1 || true
|
#renice 10 $$ >/dev/null 2>&1 || true
|
||||||
|
#ionice -c3 -p $$ >/dev/null 2>&1 || true
|
||||||
|
# However, this *really* slows down startup.
|
||||||
|
# We need a good way of only doing this for updates,
|
||||||
|
# but not at screen startup.
|
||||||
|
###########################################################
|
||||||
|
|
||||||
if [ -d "$HOME/.screen-profiles/bin" ]; then
|
if [ -d "$HOME/.screen-profiles/bin" ]; then
|
||||||
DIR="$HOME/.screen-profiles/bin"
|
DIR="$HOME/.screen-profiles/bin"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue