dvm: correct PATH and permissions
This commit is contained in:
parent
c71a1694d2
commit
2e927cce68
@ -31,6 +31,8 @@ start()
|
||||
chmod 660 /var/run/xenstored/*
|
||||
xm sched-credit -d 0 -w 65535
|
||||
printf "\x00\x00\x00\x00" > /var/run/qubes/dispVM_seq
|
||||
chown root:qubes /var/run/qubes/dispVM_seq
|
||||
chmod 660 /var/run/qubes/dispVM_seq
|
||||
xm mem-set 0 700
|
||||
cp /var/lib/qubes/qubes.xml /var/lib/qubes/backup/qubes-$(date +%F-%T).xml
|
||||
touch /var/lock/subsys/qubes_core
|
||||
|
@ -45,7 +45,7 @@ function do_send()
|
||||
xm block-detach $1 /dev/xvdg || exit 1
|
||||
xm block-attach $2 file:/$FILE /dev/xvdh w || exit 1
|
||||
}
|
||||
|
||||
export PATH=$PATH:/sbin:/usr/sbin
|
||||
if [ $# -lt 1 ] ; then
|
||||
echo args missing ?
|
||||
exit 1
|
||||
|
@ -3,6 +3,7 @@ if ! [ $# = 2 ] ; then
|
||||
echo usage: $0 domainname savefile_to_be_created
|
||||
exit 1
|
||||
fi
|
||||
export PATH=$PATH:/sbin:/usr/sbin
|
||||
VMDIR=/var/lib/qubes/appvms/$1
|
||||
if ! [ -d $VMDIR ] ; then
|
||||
echo $VMDIR does not exist ?
|
||||
|
Loading…
Reference in New Issue
Block a user