root преди 2 години
родител
ревизия
d7e0e766ae
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      picodrive.sh

+ 2 - 2
picodrive.sh

@@ -1,8 +1,8 @@
 #!/bin/sh
-# Check md5 of the PicoDrive binary in /usr/games
+# Compare md5 of the PicoDrive binary in /usr/games with the OPK one
 if [ `md5sum /usr/games/PicoDrive | cut -d' ' -f1` != `md5sum PicoDrive | cut -d' ' -f1` ]; then
 	rw
 	cp -f PicoDrive /usr/games
 	ro
 fi
-	./PicoDrive "$1"
+exec /usr/games/PicoDrive "$1"