mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Add newline
This commit is contained in:
parent
83ff3198aa
commit
cfd26ae2bd
@ -44,7 +44,7 @@ if [ -n "$server_bind" ]; then
|
|||||||
echo "Changing lighttpd server.bind to $server_bind ..."
|
echo "Changing lighttpd server.bind to $server_bind ..."
|
||||||
grep -q 'server.bind' "$lighttpd_conf" && \
|
grep -q 'server.bind' "$lighttpd_conf" && \
|
||||||
sed -i "s/^\(server\.bind.*= \)\".*\"*/\1\"$server_bind\"/g" "$lighttpd_conf" || \
|
sed -i "s/^\(server\.bind.*= \)\".*\"*/\1\"$server_bind\"/g" "$lighttpd_conf" || \
|
||||||
printf "server.bind \t\t\t\t = \"$server_bind\"" >> "$lighttpd_conf"
|
printf "server.bind \t\t\t\t = \"$server_bind\"\n" >> "$lighttpd_conf"
|
||||||
echo "RaspAP will now be available at address $server_bind"
|
echo "RaspAP will now be available at address $server_bind"
|
||||||
conf_change=1
|
conf_change=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user