- made init script fully lsb conform
This commit is contained in:
parent
632cefe277
commit
ea5b30d372
@ -1,6 +1,6 @@
|
|||||||
diff -up freeradius-1.1.7/redhat/rc.radiusd-redhat.lsb freeradius-1.1.7/redhat/rc.radiusd-redhat
|
diff -up freeradius-1.1.7/redhat/rc.radiusd-redhat.lsb freeradius-1.1.7/redhat/rc.radiusd-redhat
|
||||||
--- freeradius-1.1.7/redhat/rc.radiusd-redhat.lsb 2002-09-14 01:13:58.000000000 +0200
|
--- freeradius-1.1.7/redhat/rc.radiusd-redhat.lsb 2002-09-14 01:13:58.000000000 +0200
|
||||||
+++ freeradius-1.1.7/redhat/rc.radiusd-redhat 2007-09-17 17:02:58.000000000 +0200
|
+++ freeradius-1.1.7/redhat/rc.radiusd-redhat 2007-09-17 17:20:07.000000000 +0200
|
||||||
@@ -20,6 +20,14 @@
|
@@ -20,6 +20,14 @@
|
||||||
# Copyright (C) 2001 The FreeRADIUS Project http://www.freeradius.org
|
# Copyright (C) 2001 The FreeRADIUS Project http://www.freeradius.org
|
||||||
#
|
#
|
||||||
@ -69,7 +69,7 @@ diff -up freeradius-1.1.7/redhat/rc.radiusd-redhat.lsb freeradius-1.1.7/redhat/r
|
|||||||
- RETVAL=$?
|
- RETVAL=$?
|
||||||
- fi
|
- fi
|
||||||
+ condrestart|try-restart)
|
+ condrestart|try-restart)
|
||||||
+ [ $running -eq 0 ] || exit 7
|
+ [ $running -eq 0 ] || exit 0
|
||||||
+ $0 stop
|
+ $0 stop
|
||||||
+ sleep 3
|
+ sleep 3
|
||||||
+ $0 start
|
+ $0 start
|
||||||
@ -78,7 +78,7 @@ diff -up freeradius-1.1.7/redhat/rc.radiusd-redhat.lsb freeradius-1.1.7/redhat/r
|
|||||||
*)
|
*)
|
||||||
echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}"
|
echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}"
|
||||||
- exit 1
|
- exit 1
|
||||||
+ RETVAL=3
|
+ RETVAL=2
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exit $RETVAL
|
exit $RETVAL
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: High-performance and highly configurable free RADIUS server
|
Summary: High-performance and highly configurable free RADIUS server
|
||||||
Name: freeradius
|
Name: freeradius
|
||||||
Version: 1.1.7
|
Version: 1.1.7
|
||||||
Release: 3%{?dist}
|
Release: 3.1%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.freeradius.org/
|
URL: http://www.freeradius.org/
|
||||||
@ -301,6 +301,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3.1
|
||||||
|
- made init script fully lsb conform
|
||||||
|
|
||||||
* Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3
|
* Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3
|
||||||
- fixed initscript problem (rhbz#292521)
|
- fixed initscript problem (rhbz#292521)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user