equal
deleted
inserted
replaced
|
1 This has been reported to the Quagga community as quagga bug |
|
2 879 https://bugzilla.quagga.net/show_bug.cgi?id=879 |
|
3 This patch can be removed after upgrading to a version of Quagga |
|
4 with bug 879 fixed. |
|
5 |
|
6 *** solaris/quagga.init.in |
|
7 --- solaris/quagga.init.in |
|
8 *************** esac |
|
9 *** 149,156 **** |
|
10 DAEMON_ARGS=`routeadm_daemon_args $DAEMON`; |
|
11 routeadm_zebra_enable $DAEMON; |
|
12 |
|
13 ! if [ ! -f "@sysconfdir@/${DAEMON}.conf" ] ; then |
|
14 ! echo "Could not find config file, @sysconfdir@/${DAEMON}.conf" |
|
15 exit $SMF_EXIT_ERR_CONFIG |
|
16 fi |
|
17 |
|
18 --- 149,160 ---- |
|
19 DAEMON_ARGS=`routeadm_daemon_args $DAEMON`; |
|
20 routeadm_zebra_enable $DAEMON; |
|
21 |
|
22 ! CONF_FILE=`get_routeadm_property $SMF_FMRI config_file` |
|
23 ! if [ -z "$CONF_FILE" ] ; then |
|
24 ! CONF_FILE="@sysconfdir@/${DAEMON}.conf" |
|
25 ! fi |
|
26 ! if [ ! -f "$CONF_FILE" ] ; then |
|
27 ! echo "Could not find config file, $CONF_FILE" |
|
28 exit $SMF_EXIT_ERR_CONFIG |
|
29 fi |
|
30 |