Use correct init.d dir on HP-UX.
Fix pp warnings from rc.d and init.d dirs.
This commit is contained in:
11
sudo.pp
11
sudo.pp
@@ -292,9 +292,16 @@ still allow people to get their work done."
|
||||
/usr/sbin/visudo 0755 root: symlink $sbindir/visudo
|
||||
%endif
|
||||
%if [aix]
|
||||
/etc/rc.d/ ignore
|
||||
/etc/rc.d/rc2.d/ ignore
|
||||
/etc/rc.d/rc2.d/** ignore
|
||||
/etc/rc.d/init.d/ ignore
|
||||
/etc/rc.d/init.d/sudo 0755 root:
|
||||
%endif
|
||||
%if [sd]
|
||||
/sbin/rc2.d/ ignore
|
||||
/sbin/rc2.d/** ignore
|
||||
/sbin/init.d/ ignore
|
||||
/sbin/init.d/sudo 0755 root:
|
||||
%endif
|
||||
|
||||
@@ -377,12 +384,12 @@ still allow people to get their work done."
|
||||
rm -f /etc/rc.d/rc2.d/S90sudo
|
||||
ln -s /etc/rc.d/init.d/sudo /etc/rc.d/rc2.d/S90sudo
|
||||
fi
|
||||
%endif
|
||||
|
||||
%post [sd]
|
||||
# Create /sbin/rc2.d/S900sudo link
|
||||
rm -f /sbin/rc2.d/S900sudo
|
||||
ln -s /sbin/init.d/sudo /sbin/rc2.d/S900sudo
|
||||
%endif
|
||||
|
||||
%preun
|
||||
# Remove the time stamp dir and its contents
|
||||
# We currently leave the lecture status files installed
|
||||
|
Reference in New Issue
Block a user