On 12/04/2014 12:19 AM, Ma poubelle wrote:
> Hello,
>
> Freeradius does not start at boot because it miss its symbolic links in
> rc3.d and rc5.d.
most probably freeradius init script doesn't have init section, i.e. something
like that should be added.
# diff -aur /etc-cd/init.d/freeradius /etc/init.d/freeradius
--- /etc-cd/init.d/freeradius 1979-12-31 22:01:01.000000000 -0800
+++ /etc/init.d/freeradius 2014-12-04 18:33:04.770278150 -0800
@@ -1,6 +1,16 @@
#!/bin/sh
#
# radiusd Start the radius daemon.
+
+### BEGIN INIT INFO
+# Provides: freeradius
+# Required-Start: $network $syslog $named
+# Required-Stop: $network $syslog $named
+# Default-Start: 3 5
+# Default-Stop: 0 1 6
+# Description: starts the freeradius server
+### END INIT INFO
+
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
then you can do "insserv /etc/init.d/freeradius" and it will create all the
symlinks.
thanks,
Serge
|