10 Apr 2018, 04:33

Bonjour @oyyodams,

Merci de ton intérêt 🙂

Peux-tu me donner le résultat de ces commandes ?

  • ls -l /recalbox/share/system/custom.sh

-rwxr-xr-x 1 root root 477 Apr 8 20:28 /recalbox/share/system/custom.sh

  • cat /recalbox/share/system/custom.sh

#!/bin/bash
recallog "custom.sh 0409-1917 starting"

recallog "connmanctl services : "
/usr/bin/connmanctl services >/recalbox/share/system/logs/connmanctl_s.log 2>&1
/usr/bin/connmanctl config ethernet_a827db9282cd_cable --ipv4 manual 192.168.140.108 255.255.255.0 192.168.140.1
recallog "custom.sh 0409-1917 finishing"

  • ls -l /etc/init.d/S99custom

-rwxr-xr-x 1 root root 210 Apr 8 18:41 /etc/init.d/S99custom

  • cat /etc/init.d/S99custom

#!/bin/bash

recallog "S99custom starting"
test -e "/recalbox/share/system/custom.sh" && ( recallog "S99 custom : script custom.sh trouve" ; /recalbox/share/system/custom.sh $1 )
recallog "S99custom finishing"