Bug 179421 - hook script numbers should leave space at ends
Summary: hook script numbers should leave space at ends
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pm-utils
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-31 07:25 UTC by Ben Liblit
Modified: 2015-03-05 01:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-24 10:33:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ben Liblit 2006-01-31 07:25:58 UTC
The current collection of power management hook scripts in "/etc/pm/hooks"
includes "00NetworkManager" and "99clock".  Using the extreme two-digit end
numbers (00 and 99) makes it exceedingly difficult to add any new scripts that
run before NetworkManager suspension or after clock fiddling.

Bug 179420, for example, proposes two scripts that make good sense to go before
and after the existing 00 and 99 scripts.  I needed to give them somewhat absurd
names, such one starting with "000", to get the order right.

The "00NetworkManager" and "99clock" scripts should be renumbered to allow more
space at the ends for other scripts.

Comment 1 Phil Knirsch 2006-02-24 10:33:44 UTC
Good idea. I'll move the 00NetworkManager to 10NetworkManager, 10Video to
20Video and 99Clock to 90Clock. That should provide enough room for personal
scripts in any range.

Will be in next build.

Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.