Lines 258-265
Link Here
|
258 |
# |
258 |
# |
259 |
run_install $OWNERSHIP -m 0644 shorewall.conf ${PREFIX}/usr/share/shorewall/configfiles/shorewall.conf |
259 |
run_install $OWNERSHIP -m 0644 shorewall.conf ${PREFIX}/usr/share/shorewall/configfiles/shorewall.conf |
260 |
|
260 |
|
261 |
qt mywhich perl && perl -p -w -i -e 's|^CONFIG_PATH=.*|CONFIG_PATH=/usr/share/shorewall/configfiles:/usr/share/shorewall|;' /usr/share/shorewall/configfiles/shorewall.conf |
|
|
262 |
|
263 |
if [ ! -f ${PREFIX}/etc/shorewall/shorewall.conf ]; then |
261 |
if [ ! -f ${PREFIX}/etc/shorewall/shorewall.conf ]; then |
264 |
run_install $OWNERSHIP -m 0644 shorewall.conf ${PREFIX}/etc/shorewall/shorewall.conf |
262 |
run_install $OWNERSHIP -m 0644 shorewall.conf ${PREFIX}/etc/shorewall/shorewall.conf |
265 |
echo "Config file installed as ${PREFIX}/etc/shorewall/shorewall.conf" |
263 |
echo "Config file installed as ${PREFIX}/etc/shorewall/shorewall.conf" |