You are not logged in.
Maybe this is a stupid question, but I wonder where and how to make my larchified CDs be automatically ejected when the system is doing a shutdown?
Last edited by Moo-Crumpus (2010-05-07 09:24:31)
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
#!/bin/bash
#
# /etc/rc.local.shutdown: Local shutdown script.
#
for cdrom in `mount | grep -o /dev/sr*`; do
eject $cdrom;
done
Last edited by Moo-Crumpus (2010-05-07 08:14:12)
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
OK, this question WAS stupid. I have autologin & autostarting fluxbox, but no shutdown entry in it's menu. As I further polished the system, I noticed shutting down the live session in a proper way will eject the live cd as default action.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline