eject from halt
Jeremy Katz
katzj at redhat.com
Wed Jun 4 03:59:37 BST 2008
Attached is a simple patch to add support to upstart's halt command for
ejecting a given device. This is really nice to make it so that you can
eject a livecd on shutdown without having to do some of the contortions
that are currently done on the shutdown of the Ubuntu livecd ;)
And while a little ugly, it's not any worse than having -h and -i there.
And it makes the rest of the shutdown process substantially cleaner.
Patch is against current bzr trunk, although I've only tested atm with
it applied to 0.3.19. There's nothing to speak of changed, though, so
should be fine.
Thoughts?
Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: halt-eject.patch
Type: text/x-patch
Size: 1633 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20080603/c0829db4/attachment.bin
More information about the upstart-devel
mailing list