mkdir -p $RPM_BUILD_ROOT/var/pl_sshd/keys
install -D -m 0755 pl_sshd.sh $RPM_BUILD_ROOT/usr/local/sbin/pl_sshd.sh
install -D -m 0755 pl_sshd $RPM_BUILD_ROOT/etc/init.d/pl_sshd
mkdir -p $RPM_BUILD_ROOT/var/pl_sshd/keys
install -D -m 0755 pl_sshd.sh $RPM_BUILD_ROOT/usr/local/sbin/pl_sshd.sh
install -D -m 0755 pl_sshd $RPM_BUILD_ROOT/etc/init.d/pl_sshd
# 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
* Mon Dec 1 2003 Steve Muir <smuir@cs.princeton.edu>
- initial creation from files in sidewinder repository
* Mon Dec 1 2003 Steve Muir <smuir@cs.princeton.edu>
- initial creation from files in sidewinder repository