diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-10 22:11:11 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-10 22:11:11 (GMT) |
commit | 21e0cfadb17a1a90a94a537520bc3737c43a78ce (patch) | |
tree | f5e02519cdc105012f3f0b47accbe2ab0b61c31c /build_tools/archiso/mythvantage | |
parent | 4473d450326bdd798c790d2f70dfd890c4dc7d42 (diff) | |
download | linhes_dev-21e0cfadb17a1a90a94a537520bc3737c43a78ce.zip |
add support for ejecting the CD after install
Diffstat (limited to 'build_tools/archiso/mythvantage')
-rwxr-xr-x | build_tools/archiso/mythvantage/root-image/etc/rc.local | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_tools/archiso/mythvantage/root-image/etc/rc.local b/build_tools/archiso/mythvantage/root-image/etc/rc.local index b6ea57e..6e49dc1 100755 --- a/build_tools/archiso/mythvantage/root-image/etc/rc.local +++ b/build_tools/archiso/mythvantage/root-image/etc/rc.local @@ -23,7 +23,9 @@ function install_db { } - +#set bootdev.txt for shutdown eject in archiso_shutdown +mount|grep bootmnt|cut -f1 -d" " > /run/initramfs/bootdev.txt +cp -f /usr/bin/eject /run/initramfs/usr/bin/eject #check to see if mysql is running stat_busy "Checking Mysql" |