kopia lustrzana https://github.com/jprochazka/adsb-receiver
Added development switch.
rodzic
79aad377a0
commit
a5abd9ab66
|
@ -206,7 +206,9 @@ fi
|
|||
|
||||
## UPDATE THE REPOSITORY
|
||||
|
||||
UpdateRepository
|
||||
if [ ! $DEVELOPMENT_MODE = "true" ]; then
|
||||
UpdateRepository
|
||||
fi
|
||||
|
||||
## ASK IF OPERATING SYSTEM SHOULD BE UPDATED
|
||||
|
||||
|
|
|
@ -100,6 +100,11 @@ while [[ $# -gt 0 ]] ; do
|
|||
CONFIGURATION_FILE=`echo $1 | sed -e 's/^[^=]*=//g'`
|
||||
shift 1
|
||||
;;
|
||||
-d|--development)
|
||||
# Skip adsb-receiver repository update.
|
||||
DEVELOPMENT_MODE="true"
|
||||
shift 1
|
||||
;;
|
||||
-l|--log-output)
|
||||
# Enable logging to a file in the logs directory.
|
||||
ENABLE_LOGGING="true"
|
||||
|
|
Ładowanie…
Reference in New Issue