vm/systemd: early user-configurable init script

This commit is contained in:
Marek Marczykowski 2012-09-23 23:25:39 +02:00
parent 2d67d70d44
commit fccb6d31c6
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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