Update of /cvsroot/scummlinux/scummlinux/config
In directory sc8-pr-cvs1:/tmp/cvs-serv896/config
Modified Files:
init
Log Message:
Index: init
===================================================================
RCS file: /cvsroot/scummlinux/scummlinux/config/init,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** init 24 Jul 2003 14:07:41 -0000 1.6
--- init 24 Jul 2003 18:39:42 -0000 1.7
***************
*** 11,26 ****
if test -e /proc/scsi/usb-storage-0; then
! mkdir -p /mnt/usb
! export SCUMMVM_SAVEPATH=/mnt/usb/
! mount -t supermount -o dev=/dev/sda1 none /mnt/usb
! else
! mkdir -p /mnt/floppy
! fdlist > /dev/null 2>&1
! if test $? -eq 0; then
! mount -t supermount -o dev=/dev/fd0 none /mnt/floppy
! export SCUMMVM_SAVEPATH=/mnt/floppy/
else
! export SCUMMVM_SAVEPATH=/etc/
! fi
fi
--- 11,26 ----
if test -e /proc/scsi/usb-storage-0; then
! mkdir -p /mnt/usb
! export SCUMMVM_SAVEPATH=/mnt/usb/
! mount -t supermount -o dev=/dev/sda1 none /mnt/usb
else
! isfd /dev/fd0
! if test $? -eq 0; then
! mkdir -p /mnt/floppy
! mount -t supermount -o dev=/dev/fd0 none /mnt/floppy
! export SCUMMVM_SAVEPATH=/mnt/floppy/
! else
! export SCUMMVM_SAVEPATH=/etc/
! fi
fi
***************
*** 34,38 ****
setmixer vol 90 pcm 80 mic 0 line 0
! while true; do
scummvm -gadvmame2x -l/etc/scummvm.conf
done
--- 34,38 ----
setmixer vol 90 pcm 80 mic 0 line 0
! while ! test -e /etc/halt; do
scummvm -gadvmame2x -l/etc/scummvm.conf
done
|