b4f8b6138cb4688bdeb00f2a5ab004073657a584
[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 )
27
28 for f in /b/log-quiet/*; do
29 if [[ -x $f && ! -d $f && ! -L $f && $f != setup ]]; then
30 my_bin_files+=("$f")
31 fi
32 done
33
34
35 my_service_scripts=(
36 epanic-clean
37 system-status
38 btrfsmaint
39 mailtest-check
40 dynamic-ip-update
41 )
42
43 # note: turn this into an array if we ever add more
44 my_lib_files=/a/bin/bash-bear-trap/bash-bear
45
46 all_my_scripts=("${my_service_scripts[@]}" "${my_bin_files[@]}" $my_lib_files)