
Some info for running the HotPup daemon:

--------------- How to run ---------------

This daemon is intended to be run from xinitrc.
It is best to run before it the code to clean the pinboard from old entries
(this can be done by the daemon, but we want to make sure it's completed 
before Rox is started...)

This way if one user logs out and another logs in, new user will get on his
pinboard exactly the icons he wants...

IMPORTANT: the script should be run with a full path, not put into the 
$PATH and run by name. 

Here's an example of how to run it (put it at the TOP of xinitrc, before Rox):
## code for running the HotPup daemon:
PINFILE=$HOME/Choices/ROX-Filer/PuppyPin
# Clean pinboard file
grep -E -v '>/mnt/[a-z]?[[:alnum:]]+<' $PINFILE >$PINFILE.tmp
mv -f $PINFILE.tmp $PINFILE
# Run daemon:
/etc/HotPup/HotPup.sh all &
##

--------------- Running with parameters ---------------

HotPup can be run with parameters, to control what kind of devices are
added to the pinboard:
- no parameters: only adds removable devices when they're found: 
cdroms and USB removables
(cdrom icons are added only if a cdrom/dvd is found in the drive)

Available parameters:
# "perm":	add icons for permanent devices (drives we booted with)
# "cdrom":	add icons for cdroms like for permanent devices-don't check content
# "floppy":	add icon for floppy, if drive exists
# "all":	all the above
# "automount": mount each partition after adding to fstab


NOTE: running with parameters adds **additional** icons -- removables will
still be added when found.


Dougal