Standardize scripts, use bash and double brackets

This commit is contained in:
Kristian Haugene
2019-03-09 18:52:06 +01:00
parent 43abe72c2a
commit 66c7634f18
9 changed files with 41 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
if [ "${WEBPROXY_ENABLED}" = "true" ]; then
if [[ "${WEBPROXY_ENABLED}" = "true" ]]; then
/etc/init.d/tinyproxy stop