henk1955

Group: Members
Posts: 249
Joined: June 2004 |
 |
Posted: Sep. 09 2004,20:24 |
 |
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"
-------------- You have a Q or just want to chat? Come to #damnsmalllinux on irc.freenode.net! Open 24/7
dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl) ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
|