diff --git a/vm-systemd/misc-post.sh b/vm-systemd/misc-post.sh index b86e6a7..7db58d2 100755 --- a/vm-systemd/misc-post.sh +++ b/vm-systemd/misc-post.sh @@ -21,6 +21,7 @@ if [ -e /dev/xvdb ] ; then mkdir -p /rw/config touch /rw/config/rc.local + touch /rw/config/rc.local-early mkdir -p /rw/home cp -a /home.orig/user /home diff --git a/vm-systemd/qubes-sysinit.sh b/vm-systemd/qubes-sysinit.sh index 77dac3f..b785a25 100755 --- a/vm-systemd/qubes-sysinit.sh +++ b/vm-systemd/qubes-sysinit.sh @@ -69,3 +69,6 @@ debug_mode=`$XS_READ qubes-debug-mode 2> /dev/null` if [ -n "$debug_mode" -a "$debug_mode" -gt 0 ]; then echo "GUI_OPTS=-vv" >> /var/run/qubes-service-environment fi + +[ -x /rw/config/rc.local-early ] && /rw/config/rc.local-early +