# This file allows for startup changes so that this knoppix debian-med CD will function properly
# I havent coded it to accept a start/stop feature.. hopefully someone will do this if the need arises

echo "/etc/init.d/debian-med: Making Debian-med specific changes"

# setting up postgresql data, without these lines /var/lib/postgres/data just contains sym links to the CD.. and postgresql does not startup correctly..
rm -rf /var/lib/postgres/
cp -Rp /KNOPPIX/var/lib/postgres /var/lib/

#Gnumed env variable, should point to client path(?)
GNUMED_DIR=/usr/share/gnumed/client;export GNUMED_DIR
echo "Debian-med: All done.. (hopefully)"
