Remove extra declaration and initialization of SETUP_LOGFILE

This commit is contained in:
cimryan
2018-10-30 15:35:00 -07:00
committed by GitHub
parent f8241bbbba
commit 0588442962

View File

@@ -1,14 +1,11 @@
#!/bin/bash -eu #!/bin/bash -eu
USER_ENABLED_PUSHOVER=${USER_ENABLED_PUSHOVER:-false} USER_ENABLED_PUSHOVER=${USER_ENABLED_PUSHOVER:-false}
SETUP_LOGFILE=/boot/teslausb-headless-setup.log
REPO=${REPO:-cimryan} REPO=${REPO:-cimryan}
BRANCH=${BRANCH:-master} BRANCH=${BRANCH:-master}
HEADLESS_SETUP=${HEADLESS_SETUP:-false} HEADLESS_SETUP=${HEADLESS_SETUP:-false}
USE_LED_FOR_SETUP_PROGRESS=true USE_LED_FOR_SETUP_PROGRESS=true
if ! [ $(id -u) = 0 ] if ! [ $(id -u) = 0 ]
then then
setup_progress "STOP: Run sudo -i." setup_progress "STOP: Run sudo -i."