Make the init script work with centos
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 24 Mar 2015 00:49:32 +0000 (20:49 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 24 Mar 2015 00:49:42 +0000 (20:49 -0400)
redhat/freeradius-radiusd-init

index 2919372..26f3340 100755 (executable)
@@ -20,9 +20,9 @@
 # Source function library.
 
 # Get the wrappers for the standard lsb init functions
-. /lib/lsb/init-functions
+[ -e /lib/lsb/init-functions ] && . /lib/lsb/init-functions
 
-# and the RHEL specific ones
+# and the distro specific ones
 . /etc/init.d/functions
 
 prog=radiusd