From c5923ff32220d15c6c579cc73e40f752c8c82055 Mon Sep 17 00:00:00 2001 From: Brielle Date: Tue, 1 Mar 2016 11:44:35 -0700 Subject: [PATCH] Add path in case its not brought in for some reason --- gen-unifi-cert.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen-unifi-cert.sh b/gen-unifi-cert.sh index 4c80dbc..ce00329 100755 --- a/gen-unifi-cert.sh +++ b/gen-unifi-cert.sh @@ -6,6 +6,8 @@ # 02/02/2016: Fixed some errors with key export/import, removed lame docker requirements # 02/27/2016: More verbose progress report +PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + # The main domain name of your controller DOMAIN="unifi.xxxx.xxxxx" @@ -54,4 +56,4 @@ java -jar /usr/lib/unifi/lib/ace.jar import_cert \ ${EXTRACERT} echo "Starting Unifi controller..." service unifi start -echo "Done!" \ No newline at end of file +echo "Done!"