start-u9fs.sh: enable protocol debug with `export U9FS_LOGGING=enable`
This commit is contained in:
parent
63f39e4245
commit
cb38e778ee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue