3 Jul 2018, 14:05

@laahel alors...

Je préviens la suite est très risquée

  • Connecte-toi en ssh
  • mount -o remount,rw /
  • export TERM=xterm
  • nano /etc/init.d/S01mountboot
    ==> avant:
	  stop)
	      #Backup recalbox.conf to /boot partition
	      mount -o remount,rw /boot
	      cp /recalbox/share/system/recalbox.conf /boot/recalbox-backup.conf
	      sed -i '1s/^/#THIS IS A BACKUP OF RECALBOX.CONF\n#PLEASE DO NOT MAKE ANY CHANGE HERE !!!\n\n\n/' /boot/recalbox-backup.conf
	      mount -o remount,ro /boot
	      sync
	      recallog "recalbox.conf saved to /boot partition"
	      umount /boot || exit 1

==> après:

	  stop)
	      umount /boot || exit 1
  • nano /etc/init.d/S11share
    ==> avant:
if test "$1" = "stop"
then
    # umount all network configs
    # don't just remount the one of the config in case the config changed

==> après:

if test "$1" = "stop"
then
    #Backup recalbox.conf to /boot partition
    mount -o remount,rw /boot
    cp /recalbox/share/system/recalbox.conf /boot/recalbox-backup.conf
    sed -i '1s/^/#THIS IS A BACKUP OF RECALBOX.CONF\n#PLEASE DO NOT MAKE ANY CHANGE HERE !!!\n\n\n/' /boot/recalbox-backup.conf
    mount -o remount,ro /boot
    sync
    recallog "recalbox.conf saved to /boot partition"
    # umount all network configs
    # don't just remount the one of the config in case the config changed

C'est le fixe qui sera appliqué à la prochaine mise à jour.