--- rpms/smeserver-coova-chilli/contribs7/smeserver-coova-chilli.spec 2008/08/27 13:40:06 1.6 +++ rpms/smeserver-coova-chilli/contribs7/smeserver-coova-chilli.spec 2008/08/27 13:44:45 1.7 @@ -1,3 +1,7 @@ +# $Id: smeserver-coova-chilli.spec,v 1.2 2008/04/15 15:18:07 slords Exp $ +# Authority: vip-ire +# Name: Daniel Berteaud + Summary: Coova-Chilli, a captive portal based on ChilliSpot configured for SME server %define name smeserver-coova-chilli Name: %{name} @@ -9,7 +13,6 @@ License: GPL Group: Networking/Remote access Source: %{name}-%{version}.tar.gz URL: http://sme.firewall-services.com -Packager: Daniel Berteaud BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools @@ -81,18 +84,10 @@ This contrib will only work in server&ga %clean rm -rf $RPM_BUILD_ROOT -%pre - - -%post - %preun if [ $1 == 0 ]; then /sbin/e-smith/db configuration setprop chilli status disabled - /etc/rc.d/init.d/chilli stop > /dev/null 2>&1 - true + /etc/rc.d/init.d/chilli stop >& /dev/null || : fi -%postun -