blob: 960628c1e64ef061db279aca9c44a643b8b771f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
printf "\n--- /etc/devscripts.conf ---\n" >&3
if [ -f /etc/devscripts.conf ]; then
grep -E '^[^#]' /etc/devscripts.conf | \
grep -E -v "^\s*BTS_SMTP_AUTH_" | \
grep -E -v "^\s*SALSA.*TOKEN" >&3 || echo "Empty." >&3
else
echo "Not present" >&3
fi
printf "\n--- ~/.devscripts ---\n" >&3
if [ -f ~/.devscripts ]; then
grep -E '^[^#]' ~/.devscripts | \
grep -E -v "^\s*BTS_SMTP_AUTH_" | \
grep -E -v "^\s*SALSA.*TOKEN" >&3 || echo "Empty." >&3
else
echo "Not present" >&3
fi
|