From e2d96737139a3467d57ef9a1759c691caeb64f6c Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Wed, 23 Mar 2011 18:44:58 +0100 Subject: [PATCH] Fixed qubes_setupdvm whitespace. --- dom0/init.d/qubes_setupdvm | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/dom0/init.d/qubes_setupdvm b/dom0/init.d/qubes_setupdvm index 25a12903..7ed65cf2 100755 --- a/dom0/init.d/qubes_setupdvm +++ b/dom0/init.d/qubes_setupdvm @@ -31,19 +31,19 @@ start() if [ $ROOT -nt $DEFAULT ] ; then create_neeed=1 ; fi if [ $create_neeed = 1 ] ; then echo Creating the default DVM. This may take up to 2 minutes... - qvm-create-default-dvm --default-template --default-script + qvm-create-default-dvm --default-template --default-script return - fi + fi if [ -f /var/lib/qubes/dvmdata/dont_use_shm ] ; then ln -s $DEFAULT /var/run/qubes/current_savefile else - mkdir -m 770 /dev/shm/qubes - chown root.qubes /dev/shm/qubes - cp $DEFAULT /dev/shm/qubes/current_savefile - chown root.qubes /dev/shm/qubes/current_savefile - chmod 660 /dev/shm/qubes/current_savefile - ln -s /dev/shm/qubes/current_savefile /var/run/qubes/current_savefile - fi + mkdir -m 770 /dev/shm/qubes + chown root.qubes /dev/shm/qubes + cp $DEFAULT /dev/shm/qubes/current_savefile + chown root.qubes /dev/shm/qubes/current_savefile + chmod 660 /dev/shm/qubes/current_savefile + ln -s /dev/shm/qubes/current_savefile /var/run/qubes/current_savefile + fi touch /var/lock/subsys/qubes_setupdvm success @@ -60,15 +60,15 @@ stop() case "$1" in start) - start - ;; + start + ;; stop) - stop - ;; + stop + ;; *) - echo $"Usage: $0 {start|stop}" - exit 3 - ;; + echo $"Usage: $0 {start|stop}" + exit 3 + ;; esac exit $RETVAL