install -D -m 0755 pl_sshd $RPM_BUILD_ROOT/etc/init.d/pl_sshd
install -D -m 0755 auto.pl_sshd.py $RPM_BUILD_ROOT/etc/auto.pl_sshd
install -D -m 0755 pl_sshd $RPM_BUILD_ROOT/etc/init.d/pl_sshd
install -D -m 0755 auto.pl_sshd.py $RPM_BUILD_ROOT/etc/auto.pl_sshd
%attr(0755,root,root) /etc/init.d/pl_sshd
%attr(0755,root,root) /etc/auto.pl_sshd
%attr(0755,root,root) /etc/init.d/pl_sshd
%attr(0755,root,root) /etc/auto.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
* Thu Apr 7 2005 Steve Muir <smuir@cs.princeton.edu>
- convert auto.pl_sshd to a python script (simpler and less error-prone)
* Thu Apr 7 2005 Steve Muir <smuir@cs.princeton.edu>
- convert auto.pl_sshd to a python script (simpler and less error-prone)