@Pedro_Newbie,
BackupSuite supports hundreds of STBs now so using "if" situations is not a good idea, Why not just use:
python /usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/findkerneldevice.py KERNEL=`cat /sys/firmware/devicetree/base/chosen/kerneldev` KERNELNAME=${KERNEL:11:7}.bin echo "$KERNELNAME = STARTUP_${KERNEL:17:1}" log "$KERNELNAME = STARTUP_${KERNEL:17:1}" dd if=/dev/kernel of=$WORKDIR/$KERNELNAME > /dev/null 2>&1
instead of
if [ $SEARCH = "hd51" ] ; then python /usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/findkerneldevice.py KERNEL=`cat /sys/firmware/devicetree/base/chosen/kerneldev` KERNELNAME=${KERNEL:11:7}.bin echo "$KERNELNAME = STARTUP_${KERNEL:17:1}" log "$KERNELNAME = STARTUP_${KERNEL:17:1}" dd if=/dev/kernel of=$WORKDIR/$KERNELNAME > /dev/null 2>&1 elif [ $SEARCH = "sf4008" -o $SEARCH = "et11000" ] ; then dd if=/dev/mmcblk0p3 of=$WORKDIR/$KERNELNAME log "Kernel resides on /dev/mmcblk0p3" else dd if=/dev/mmcblk0p1 of=$WORKDIR/$KERNELNAME log "Kernel resides on /dev/mmcblk0p1" fi
and go global for all?
Edited by Persian Prince, 18 January 2018 - 23:17.