#!/bin/bash # include the raspap helper functions source /usr/local/sbin/raspap_helpers.sh _getWebRoot echo -n "Update firewall ... " cat << EOF > /tmp/updateFirewall.php EOF sudo php -d include_path=$raspap_webroot /tmp/updateFirewall.php rm /tmp/updateFirewall.php echo "done."