This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!bin/bash | |
| #clean containers | |
| docker rm $(docker ps -a -f status=exited -q) | |
| #clean dangling images | |
| docker rmi $(docker images -f dangling=true -q) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set result ="" | |
| function checkAp { | |
| nmcli -f BSSID,ACTIVE,SSID dev wifi list | awk '$3 ~ /YIPL-*/ && $2 ~ /yes/ {print $2}' | |
| return | |
| } | |
| function runScripts(){ | |
| for i in $(find $1 -type f) | |
| do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| #start contactsid_auth | |
| #move to base folder | |
| cd $(dirname $0) | |
| cd .. | |
| (cd contactsid_auth && docker-compose up -d) | |
| (cd hpc_service && docker-compose up -d) | |
| (cd hpc_app && docker-compose up -d) | |
| (cd un-fts-public && docker-compose up -d) |
NewerOlder