0a428d8756update_psa(): if called without -m (without MAINTENANCE): check for ISMAS updates 3 times. If no response by ISMAS, end update process with FAILURE (exit script) if called with -m: check for ISMAS updates 10 times. If no response by ISMAS, end update process with FAILURE (exit script)
master
Gerhard Hoffmann2023-06-29 13:38:41 +0200
1ecabe79cafetch_customer_updates(): add debug output. check_for_running_apism(): use port 7777 instead of port 7778.Gerhard Hoffmann2023-06-29 13:36:56 +0200
3affefe82aRemove usage of the following variables: TARIFF_CURRENT TARIFF_SUMMER TARIFF_WINTER TC_PSA_TC_FILE TC_SYS_TC_FILEGerhard Hoffmann2023-06-29 13:34:24 +0200
a957894d9aRemoved usage of obsolete variable TC_PSA_TC_FILE (=tariff.current) and ATBQT_ATB_SYS_BIN_FILE. For ATBQT_ATB_SYS_BIN_FILE use /opt/app/ATBAPP/ATBQT directly.Gerhard Hoffmann2023-06-29 13:30:37 +0200
0e7f5938c71: Wait 5 seconds for ISMAS response. 2: For ISMAS response: check if device_id (=machine_nr) sent from ISMAS is the same as the local machine_nr. If NO, return 1 (fail).Gerhard Hoffmann2023-06-29 13:27:01 +0200
ff2ea6b8f2Check sanity of WORKING_DIRECTORY variable. cd into $WORKING_DIRECTORY before sourcing other scripts.Gerhard Hoffmann2023-06-20 09:14:20 +0200
ef4d27eb91Taken over some parts from update_psa: cloning of customer_repository, some sanity checks, check for available updates.Gerhard Hoffmann2023-05-26 15:07:40 +0200
901fa4c319Replaced CLONE_CUSTOMER_REPOSITORY by INITIAL_CLONE. Added some sanity checks at end of read_config().Gerhard Hoffmann2023-05-26 15:05:25 +0200
bcc96a388fRestructered clone_customer_repository() and cd_customer_repository(). Fixed cd_home() to return explicitly to the customer repository, not only to -.Gerhard Hoffmann2023-05-26 15:01:48 +0200
2a8be547a8Added FATAL_FAILURE to log_helpers. Do not send to APIS in case of FATAL_FAILURE.Gerhard Hoffmann2023-05-24 16:46:21 +0200
17521771e3Use log_info instead of log_debug for some debug messagesGerhard Hoffmann2023-05-24 16:45:01 +0200
515c77bed4Use GIT_UPDATE_LOG instaed of GIT_PULL_TMP / OPKG_CMDS_TMP.Gerhard Hoffmann2023-05-24 13:06:25 +0200
f2617d8151Use GIT_UPDATE_LOG. pull_customer_repository(): Check the file GIT_UPDATE_LOG for keywords DOWNLOAD or EXECUTE.Gerhard Hoffmann2023-05-24 13:04:39 +0200
4f9c6155e1Always log to file. Log to terminal depending on debug level.Gerhard Hoffmann2023-05-24 13:02:56 +0200
95a9307631check_for_apism, check_default_route and check_for_route_to_repository exit the script if condition is not fulfilled.Gerhard Hoffmann2022-06-25 15:19:43 +0200
fc1c2221b1Added check_default_route and check_route_for_repository.Gerhard Hoffmann2022-06-25 15:11:49 +0200
9b1549306dAdded checks: check_default_route -> exit if no route set check_route_to_repository -> exit if no such route check_for_apismGerhard Hoffmann2022-06-25 15:08:44 +0200
7a35039dadupdate_psa: when called with an argument, skip test for available updates, executing 'git pull' in any case.Gerhard Hoffmann2022-06-16 15:49:34 +0200
8b5cda7f73After clone: fetch the reposiry again, follwed by a git reset --hard. The effect is that git crates all diretories and files in /etc and /opt.Gerhard Hoffmann2023-03-30 13:59:38 +0200
52271bef21do not assert missing files. git will create them in <clone>Gerhard Hoffmann2023-03-30 13:40:53 +0200
3574453066'git pull' calls the hook post-merge when new data arrive. If this is the case, write a file /tmp/git-pull which contains the names of changed files. Do not search for any special output of git.Gerhard Hoffmann2022-06-09 18:41:33 +0200
83aa2dbd5cclone_customer_repository: re-initailize repository after cloning. Copy .githhoks/post-merge hook into .git/hooks/. post-merge will list the names of changed files and write them to /tmp/git-pull. The existence of /tmp/git-pull shows that there have been received changed files.Gerhard Hoffmann2022-06-09 18:34:31 +0200
8f07fbcf53moved some code into read_config() to make sure proper initializationGerhard Hoffmann2022-06-06 20:07:47 +0200
326c6ea001We use a different work-tree as usual when creatinng the repository. Cloning the rep. does not save this setting. So we have to re-init the rep:Gerhard Hoffmann2022-06-06 20:05:05 +0200