2 # Copyright (C) 2019 Ian Kelling
3 # SPDX-License-Identifier: AGPL-3.0-or-later
5 if [ -z "$BASH_VERSION" ]; then echo "error: shell is not bash" >&2; exit 1; fi
8 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
10 f
=/dev
/shm
/iank-status
15 if test -e /nocow
/btrfs-stale
/*; then
18 if test -e /m
/md
/bounces
/new
/*; then
21 if [[ -e /nocow
/user
/mailtest-failure
]]; then
24 if [[ -s /var
/log
/exim
4/paniclog
]]; then
28 cat /a
/bin
/bash_unpublished
/source-state
>$f
31 echo "ps_char=\"${chars[*]} \$ps_char\"" >>$f
38 for ((i
=1; i
<=3; i
++)); do