125 |
|
|
126 |
pushd %{name}-%{version_main} |
pushd %{name}-%{version_main} |
127 |
export CONFDIR=%{_sysconfdir}/%{name} |
export CONFDIR=%{_sysconfdir}/%{name} |
|
# (blino) enable startup (new setting as of 2.1.3) |
|
|
perl -pi -e 's/STARTUP_ENABLED=.*/STARTUP_ENABLED=Yes/' configfiles/%{name}.conf |
|
128 |
|
|
129 |
# Keep synced with net.ipv4.ip_forward var in /etc/sysctl.conf |
# Keep synced with net.ipv4.ip_forward var in /etc/sysctl.conf |
130 |
perl -pi -e 's/IP_FORWARDING=.*/IP_FORWARDING=Keep/' configfiles/%{name}.conf |
perl -pi -e 's/IP_FORWARDING=.*/IP_FORWARDING=Keep/' configfiles/%{name}.conf |