Compare commits

...

2 Commits

2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
#!/bin/sh
# U9FS_LOG="-l $JEHANNE/hacking/lib/u9fs.log -z -D"
if [ "$U9FS_LOGGING" = "enable" ]; then
LOGFILE=$JEHANNE/hacking/lib/u9fs.log
date > $LOGFILE
echo Starting U9FS >> $LOGFILE
U9FS_LOG="-l $LOGFILE -z -D"
fi
$JEHANNE/hacking/bin/u9fs $U9FS_LOG -a none -u $USER $JEHANNE

View File

@ -17,7 +17,7 @@ $JEHANNE/hacking/bin/nc -p 5640 -l -e $JEHANNE/hacking/bin/start-u9fs.sh &
ufspid=$!
export machineflag=pc
if [ "$(uname)" = "Linux" ] && [ -e /dev/kvm ]; then
if [ "$JEHANNE_KVM" = "enable" ] && [ "$(uname)" = "Linux" ] && [ -e /dev/kvm ]; then
export kvmflag='-enable-kvm'
export machineflag='pc,accel=kvm'
if [ ! -w /dev/kvm ]; then