summaryrefslogtreecommitdiffstats
path: root/build_tools/archiso/mythvantage/root-image/etc/rc.local
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/archiso/mythvantage/root-image/etc/rc.local')
-rwxr-xr-xbuild_tools/archiso/mythvantage/root-image/etc/rc.local4
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"