Doug Rezner wrote:
>
> Hi all:
>
> My e-smith box is working great! But, I'm in need of some
> advice.
>
> How do I set the tape backup (flexbackup) to automatically
> eject the tape. I am unfamilair with how the template system
> works in e-smith and would like some pointers before
> proceeding.
>
> Thanks,
> Doug R
Have a look at the last command line in /sbin/e-smith/backup which states:
/bin/mt -f "/dev/nst0" rewind
This is what you want to change. Here's how:
mkdir -p /etc/e-smith/templates-custom/sbin/e-smith/backup
cd /etc/e-smith/templates-custom/sbin/e-smith/backup
cp /etc/e-smith/templates/sbin/e-smith/backup/90rewind-tape .
# don't forget the '.' at the end of the line above
pico /etc/e-smith/templates-custom/sbin/e-smith/backup
# and replace 'rewind' with 'offline'
/sbin/e-smith/expand-template /sbin/e-smith/backup
cat /sbin/e-smith/backup
# last command line should now state:
/bin/mt -f "/dev/nst0" offline
That should do it
