picodrive.sh 266 B

12345678
  1. #!/bin/sh
  2. # Compare md5 of the PicoDrive binary in /usr/games with the OPK one
  3. if [ `md5sum /usr/games/PicoDrive | cut -d' ' -f1` != `md5sum PicoDrive | cut -d' ' -f1` ]; then
  4. rw
  5. cp -f PicoDrive /usr/games
  6. ro
  7. fi
  8. exec /usr/games/launchers/megadrive_launch.sh "$1"