Skip to content

Commit

Permalink
portal setup import functions and variables
Browse files Browse the repository at this point in the history
  • Loading branch information
RensHijdra committed Aug 13, 2024
1 parent 8f31b05 commit 9deef66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions bash/portal/core.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

### INCLUDE EXTERNAL SCRIPTS

source ${RECEIVER_BASH_DIRECTORY}/variables.sh
source ${RECEIVER_BASH_DIRECTORY}/functions.sh

## VARIABLES

PORTAL_BUILD_DIRECTORY="${RECEIVER_BUILD_DIRECTORY}/portal"
Expand Down
2 changes: 1 addition & 1 deletion bash/portal/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ unset ADSB_PORTAL_DATABASE_USER
unset ADSB_PORTAL_DATABASE_PASSWORD1
unset ADSB_PORTAL_DATABASE_NAME
pi_address=`ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/'`
ip_address=`ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/'`
whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" \
--title "ADS-B Receiver Project Portal Setup" \
Expand Down

0 comments on commit 9deef66

Please sign in to comment.