diff options
Diffstat (limited to 'build_tools/archiso/mythvantage/root-image')
4 files changed, 9 insertions, 7 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" diff --git a/build_tools/archiso/mythvantage/root-image/etc/sudoers.d/g_wheel b/build_tools/archiso/mythvantage/root-image/etc/sudoers.d/g_wheel new file mode 100755 index 0000000..8c45359 --- /dev/null +++ b/build_tools/archiso/mythvantage/root-image/etc/sudoers.d/g_wheel @@ -0,0 +1 @@ +%wheel ALL=(ALL) NOPASSWD: ALL diff --git a/build_tools/archiso/mythvantage/root-image/root/LinHES-install.sh b/build_tools/archiso/mythvantage/root-image/root/LinHES-install.sh index a4f8bd7..704112d 100755 --- a/build_tools/archiso/mythvantage/root-image/root/LinHES-install.sh +++ b/build_tools/archiso/mythvantage/root-image/root/LinHES-install.sh @@ -11,6 +11,7 @@ export MALLOC_CHECK_=0 xset s off xset -dpms xhost + +xdotool mousemove 0 0 CMDLINE=$(cat /proc/cmdline) echo $CMDLINE |grep -q nfsroot @@ -26,7 +27,7 @@ MythVantage -r if [ x$NFSROOT = x1 ] then - unbuffer MythVantage & + unbuffer MythVantage -L & else NETBOOT=YES MythVantage & fi diff --git a/build_tools/archiso/mythvantage/root-image/root/startx b/build_tools/archiso/mythvantage/root-image/root/startx index ca11cdc..829f1db 100755 --- a/build_tools/archiso/mythvantage/root-image/root/startx +++ b/build_tools/archiso/mythvantage/root-image/root/startx @@ -12,12 +12,10 @@ USEVNC=$? if [ x$USEVNC = x1 ] then - $MV_ROOT/bin/xconfig.sh 2>/dev/null -# cat /etc/X11/xorg.conf | sed -e 's/dev\/mouse/dev\/psaux/g'> /root/xorg.conf.install - #startx /root/LinHES-install.sh -- -logverbose 6 -config /root/xorg.conf.install -allowMouseOpenFail 2>/tmp/x.log + RUNP=1 $MV_ROOT/bin/xconfig.sh 2>/dev/null startx /root/LinHES-install.sh -- -logverbose 6 -allowMouseOpenFail 2>/tmp/x.log - else - #VNC +else + #VNC pacman -Sf --noconfirm tigervnc /etc/rc.d/dbus start cp -f $TEMPLATES/vnc.service /etc/avahi/services/ |