-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy_ft_util
More file actions
executable file
·33 lines (27 loc) · 1015 Bytes
/
deploy_ft_util
File metadata and controls
executable file
·33 lines (27 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
# Download latest ft-util script from https://github.com/Futur-Tech/ft-util/ into the directory
# You can adjust this script to add or remove script based on your needs
FT_UTIL_DIR=$(dirname "$0")
FT_UTIL_REPO="https://raw.githubusercontent.com/Futur-Tech/ft-util/main"
function download_file {
wget --quiet "${FT_UTIL_REPO}/${1}" --output-document="${FT_UTIL_DIR}/${1}"
echo "Downloaded: ${FT_UTIL_REPO}/${1}"
}
rm ${FT_UTIL_DIR}/ft_util_*
echo "rm ${FT_UTIL_REPO}/ft_util_* done"
download_file ft_util_bak-cleaner
download_file ft_util_conf-update
download_file ft_util_docker
download_file ft_util_file-deploy
download_file ft_util_inc_func
download_file ft_util_inc_var
download_file ft_util_kerberos
download_file ft_util_pkg
download_file ft_util_log
download_file ft_util_sshauth
download_file ft_util_sshkey
download_file ft_util_sudoersd
download_file ft_util_usrmgmt
download_file README.md
chmod +x ${FT_UTIL_DIR}/ft_util_*
echo "chmod +x ${FT_UTIL_DIR}/ft_util_* done"