Skip to content

Commit

Permalink
Update variables.sh: add message numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Nov 27, 2024
1 parent 64eedba commit 4f619e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,12 @@ if [[ -z "${ALLSKY_VARIABLE_SET}" ]]; then
EXIT_ERROR_STOP=100 # unrecoverable error - need user action so stop service
EXIT_NO_CAMERA=101 # cannot find camera

# addMessage.sh message numbers.
AM_RM_PRIOR=1
AM_RM_CHECK=2
AM_RM_POST=3
AM_NOT_SUPPORTED=4

# Name of the Pi's OS in lowercase.
PI_OS="$( grep VERSION_CODENAME /etc/os-release )"; PI_OS="${PI_OS/VERSION_CODENAME=/}"
PI_OS="${PI_OS,,}"
Expand Down

0 comments on commit 4f619e4

Please sign in to comment.