KP Kirchdörfer wrote:
> 
> the backup destination of packages points by default to cdrom, which
> is write-protected by technology...
> 
> Could this be changed easily to default to /dev/fd0?
> 
> Cosmetic change, I know, for leaf-die-hards, but something new user
> might be disattracted.

This is what I do:

# cat /etc/init.d/backdisk.update
#! /bin/sh
# /etc/init.d/backdisk.update
# Update /var/lib/lrpkg/backdisk not to backup to cd-rom
#
# $Id: backdisk.update 0.1 2001/12/02 16:30:00 mds Exp $
#

RCDLINKS="1,S99 2,S99 3,S99"

PATH="/sbin:/bin:/usr/sbin:/usr/bin"

FILE=/var/lib/lrpkg/backdisk
TMP=/tmp/backdisk.$$

# Modify FILE
if [ -s $FILE ]
then
        sed 's!iso9660!msdos!; s!cdrom\|hda!fd0!' $FILE > $TMP
        if [ -s $TMP ]
        then
                cp $TMP $FILE
        fi
        rm $TMP
fi

exit 0


-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to