X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/8ef71595bfd62a4d186b980f107255edcb3189aa..ae52a7d8d22f9d9670f141a72c92a48013ae5e46:/l2tpns.spec?ds=sidebyside diff --git a/l2tpns.spec b/l2tpns.spec index 29b917b..a8f2643 100644 --- a/l2tpns.spec +++ b/l2tpns.spec @@ -30,36 +30,16 @@ make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} -%post -/sbin/chkconfig --add dhcpd -/sbin/chkconfig --add dhcrelay - -%preun -if [ $1 = 0 ]; then # execute this only if we are NOT doing an upgrade - service dhcpd stop >/dev/null 2>&1 - service dhcrelay stop >/dev/null 2>&1 - /sbin/chkconfig --del dhcpd - /sbin/chkconfig --del dhcrelay -fi - -%postun -if [ "$1" -ge "1" ]; then - service dhcpd condrestart >/dev/null 2>&1 - service dhcrelay condrestart >/dev/null 2>&1 -fi - %files %defattr(-,root,root) %doc Changes INSTALL INTERNALS COPYING Docs/manual.html %dir /etc/l2tpns -%dir /usr/lib/l2tpns %config(noreplace) /etc/l2tpns/users %config(noreplace) /etc/l2tpns/startup-config %config(noreplace) /etc/l2tpns/ip_pool -/usr/sbin/l2tpns -/etc/l2tpns/users +%attr(700,root,root) /usr/sbin/l2tpns +%attr(755,root,root) /usr/lib/l2tpns %changelog * Thu Sep 02 2004 David Parrish 2.0.2 - Initial SPEC file generation -