]> git.pld-linux.org Git - packages/bandwidthd.git/commitdiff
- tabs
authorkolodko <kolodko@pld-linux.org>
Mon, 24 Jan 2005 09:59:44 +0000 (09:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bandwidthd.spec -> 1.3

bandwidthd.spec

index cd614b1861fc97a81be79d337ca8e868445bbbee..a79de3c5605ea58e48410e7338a0726a625cbe9a 100644 (file)
@@ -23,7 +23,7 @@ Requires(post,preun): /sbin/chkconfig
 Requires:      webserver
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _htmldir        /home/services/httpd/html/bandwidthd
+%define                _htmldir        /home/services/httpd/html/bandwidthd
 
 %description
 BandwidthD tracks usage of TCP/IP network subnets and builds html
@@ -76,17 +76,17 @@ rm -rf $RPM_BUILD_ROOT
 %post
 /sbin/chkconfig --add bandwidthd
 if [ -f /var/lock/subsys/bandwidthd ]; then
-        /etc/rc.d/init.d/bandwidthd restart 1>&2
+       /etc/rc.d/init.d/bandwidthd restart 1>&2
 else
-        echo "Run \"/etc/rc.d/init.d/bandwidthd start\" to start bandwidthd."
+       echo "Run \"/etc/rc.d/init.d/bandwidthd start\" to start bandwidthd."
 fi
 
 %preun
 if [ "$1" = "0" ]; then
-        if [ -f /var/lock/subsys/bandwidthd ]; then
-                /etc/rc.d/init.d/bandwidthd stop 1>&2
-        fi
-        /sbin/chkconfig --del bandwidthd
+       if [ -f /var/lock/subsys/bandwidthd ]; then
+       /etc/rc.d/init.d/bandwidthd stop 1>&2
+       fi
+       /sbin/chkconfig --del bandwidthd
 fi
 
 %files
This page took 0.097888 seconds and 4 git commands to generate.