foo
This commit is contained in:
parent
2cce196e64
commit
02fac4336b
1 changed files with 0 additions and 18 deletions
18
l2tpns.spec
18
l2tpns.spec
|
|
@ -30,24 +30,6 @@ make install DESTDIR=%{buildroot}
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc Changes INSTALL INTERNALS COPYING Docs/manual.html
|
%doc Changes INSTALL INTERNALS COPYING Docs/manual.html
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue