shellcheck, remove old files
[distro-setup] / script-files
1 #!/bin/bash
2 ### FOR SOURCING ###
3
4 my_bin_files=(
5 switch-mail-host
6 switch-host2
7 btrbk-run mount-latest-subvol
8 check-subvol-stale
9 myi3status
10 mailbindwatchdog
11 check-mailq
12 unsaved-buffers
13 unsaved-buffers.el
14 mail-backup-clean
15 iptables-exim
16 ip6tables-exim
17 exim-nn-iptables
18 check-crypttab
19 /a/bin/cedit/cedit
20 btrbk-spread-wrap
21 prof
22 prof-remote
23 prof-backup
24 prof-tail
25 prof-notify
26 /a/bin/newns/newns
27 )
28
29 for f in /b/log-quiet/*; do
30 if [[ -x $f && ! -d $f && ! -L $f && $f != setup ]]; then
31 my_bin_files+=("$f")
32 fi
33 done
34
35
36 my_service_scripts=(
37 epanic-clean
38 system-status
39 btrfsmaint
40 mailtest-check
41 dynamic-ip-update
42 )
43
44 # note: turn this into an array if we ever add more
45 my_lib_files=/a/bin/bash-bear-trap/bash-bear
46
47 all_my_scripts=("${my_service_scripts[@]}" "${my_bin_files[@]}" $my_lib_files)