diff --git a/redhat/tinc b/redhat/tinc index b9ce1f1c..e2a75439 100644 --- a/redhat/tinc +++ b/redhat/tinc @@ -207,7 +207,7 @@ case "$1" in vpn_stop $vpn && action "" /bin/true done - rm -f /var/lock/susbsys/tinc + rm -f /var/lock/subsys/tinc ;; status) diff --git a/redhat/tinc.spec b/redhat/tinc.spec index 24bdde48..ffb6aa9f 100644 --- a/redhat/tinc.spec +++ b/redhat/tinc.spec @@ -93,17 +93,17 @@ grep -q '^alias tap0' /etc/conf.modules || cat >> /etc/conf.modules << END alias tap0 ethertap alias char-major-36 netlink_dev END -/sbin/install-info /usr/info/tinc.info.gz /usr/info/dir --entry="* tinc: (tinc). The tinc Manual." +/sbin/install-info /usr/info/tinc.info.gz /usr/info/dir %preun -/sbin/install-info --delete /usr/info/tinc.info.gz /usr/info/dir --entry="* tinc: (tinc). The tinc Manual." +/sbin/install-info --delete /usr/info/tinc.info.gz /usr/info/dir %postun %files %doc AUTHORS ChangeLog NEWS README THANKS *.html doc/tinc.conf.sample %config /etc/tinc/ -/etc/rc.d/init.d/tinc +%attr(0755,root,root) /etc/rc.d/init.d/tinc /usr/sbin/genauth /usr/sbin/tincd /usr/lib/tinc/