pull/39/merge
Idar Lund 2024-11-21 02:09:21 +00:00 committed by GitHub
commit 874854ef8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -62,6 +62,13 @@ function setup() {
# Create tmp scan directory
mkdir -p $SCAN_DIR &> /dev/null
# Install curl if it does not exist
if [ ! -f /usr/bin/curl ]; then
opkg update >> /root/opkgupdate.log 2>&1
opkg list >> /root/opkglist.log 2>&1
opkg install curl >> /root/opkginstall.log 2>&1
fi
# Create tmp scan file if it doesn't exist
SCAN_FILE=$SCAN_DIR/scan-count
if [ ! -f $SCAN_FILE ]; then