From 1b87d57af43f6c68f9e7320641c7083107fe5be9 Mon Sep 17 00:00:00 2001 From: billz Date: Sat, 7 Mar 2020 09:17:02 +0000 Subject: [PATCH] Bugfix: Escape backslashes --- installers/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installers/common.sh b/installers/common.sh index b291b769..576c0f07 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -252,8 +252,8 @@ function default_configuration() { 'echo 1 > \/proc\/sys\/net\/ipv4\/ip_forward #RASPAP' 'iptables -t nat -A POSTROUTING -j MASQUERADE #RASPAP' 'iptables -t nat -A POSTROUTING -s 192.168.50.0\/24 ! -d 192.168.50.0\/24 -j MASQUERADE #RASPAP' - 'chown dnsmasq:www-data /tmp/dnsmasq.log #RASPAP' - 'chown root:www-data /tmp/hostapd.log #RASPAP' + 'chown dnsmasq:www-data \/tmp\/dnsmasq.log #RASPAP' + 'chown root:www-data \/tmp\/hostapd.log #RASPAP' ) for line in "${lines[@]}"; do