Other Help Topics :: FROM RAM to USB (configurations)
there is something diferent in S49dsl-restore and filetool.sh
S49dsl-restore
Code Sample
BACKUP_DEVICE="$(grep $DEVICE /etc/fstab | awk '{print $2'})"
sudo mount "$BACKUP_DEVICE"
echo "$DEVICE" > /opt/.backup_device
filetool.sh
Code Sample
BACKUP_DEVICE="$(grep $2 /etc/mtab|awk '{print $2}')"
if [ -n "$BACKUP_DEVICE" ]; then
return
note first one fstab next one mtab
maybe that explains my "problem"
original
here
.