Request ability to run admin commands on bootup and shutdown.

Bug #94881 reported by will_in_wi on 2007-03-22
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Nominated for Feisty by will_in_wi
Nominated for Gutsy by will_in_wi

Bug Description

I am requesting that a feature be added to allow admins to simply add a command to a file and have it run on either bootup or shutdown. This can be done by editing initscripts, but the easy way gets overwritten on upgrades and the hard way is just that, hard. Gentoo has a very useful feature that allows you to add a command to either /etc/conf.d/local.start or /etc/conf.d/local.stop and it will be run when the local initscript is started and stopped. I have tried to replicate this feature in ubuntu and would appreciate it if a dev would look at this for inclusion in feisty. There is no localization to be done and it will not change anything by default. It requires that three files be added to a package (probably initscripts), an initscript in /etc/init.d and two files in /etc/default, admin.start and admin.stop. I have attempted to implement this and I have a working version.

will_in_wi (will-in-wi) wrote :
will_in_wi (will-in-wi) wrote :

I forgot to say that I made a feature spec for this and linked it to the forum entry that I talked about this. It is here:

I hope that I am using launchpad incorrectly. I am new to this system and the beta stage starts tomorrow.

If it is impossible to get this into feisty, could someone mark this bug as wontfix and mark the feature spec for concideration for the next version of ubuntu.

Thanks a lot!

will_in_wi (will-in-wi) wrote :

Sorry for the bugspam. I meant to say that I hope I am not using launchpad incorrectly.

These scripts are really really cool! Thank you. I would like this by default in Gutsy, too.


Changed in sysvinit:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers