# 1 = install, 2 = upgrade/reinstall
if [ $1 -ge 1 ]; then
# create the magic directory for automount
# 1 = install, 2 = upgrade/reinstall
if [ $1 -ge 1 ]; then
# create the magic directory for automount
#
# don't try to start/restart various things automatically,
# it's too ugly (particularly if we're upgrading while
#
# don't try to start/restart various things automatically,
# it's too ugly (particularly if we're upgrading while
echo
echo "You need to manually restart sshd."
echo "Make sure you know what you're doing, particularly"
echo
echo "You need to manually restart sshd."
echo "Make sure you know what you're doing, particularly"
auto_master=/etc/auto.master
mv $auto_master $auto_master.pl_sshd.preun
sed -e '\,^/var/pl_sshd/keys,d' $auto_master.pl_sshd.preun \
>$auto_master
auto_master=/etc/auto.master
mv $auto_master $auto_master.pl_sshd.preun
sed -e '\,^/var/pl_sshd/keys,d' $auto_master.pl_sshd.preun \
>$auto_master