#!/bin/sh
mount /dev/fd0
tar zxvf /mnt/floppy/l5.tgz
/bin/cat /root/fhl/l5.config|/root/fhl/l5 - > /root/fhl/l5.db.new
/usr/bin/diff /root/fhl/l5.db /root/fhl/l5.db.new |/bin/grep -v '/dev/pty\|/dev/tty'| /bin/more
sleep 5s
/bin/mv -f /root/fhl/l5.db.new /root/fhl/l5.db
rm -rf /mnt/floppy/l5.tgz
tar zcvf /mnt/floppy/l5.tgz fhl
sync
umount /dev/fd0
rm -rf fhl
