vm/systemd: early user-configurable init script

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

View File

@ -21,6 +21,7 @@ if [ -e /dev/xvdb ] ; then
mkdir -p /rw/config mkdir -p /rw/config
touch /rw/config/rc.local touch /rw/config/rc.local
touch /rw/config/rc.local-early
mkdir -p /rw/home mkdir -p /rw/home
cp -a /home.orig/user /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 if [ -n "$debug_mode" -a "$debug_mode" -gt 0 ]; then
echo "GUI_OPTS=-vv" >> /var/run/qubes-service-environment echo "GUI_OPTS=-vv" >> /var/run/qubes-service-environment
fi fi
[ -x /rw/config/rc.local-early ] && /rw/config/rc.local-early