mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Remove extra declaration and initialization of SETUP_LOGFILE
This commit is contained in:
@@ -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."
|
||||||
|
|||||||
Reference in New Issue
Block a user