mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2025-06-07 18:44:08 +02:00
Create check_zambaconf_trmm.sh
TRMM check if you forgot to delete your zamba.conf with Passwords!
This commit is contained in:
parent
8d22b06bd5
commit
077735aa03
13
check_zambaconf_trmm.sh
Normal file
13
check_zambaconf_trmm.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
ZAMBA_CONF="/root/zamba-lxc-toolbox/conf/zamba.conf"
|
||||
|
||||
if [[ -f "$ZAMBA_CONF" ]]; then
|
||||
echo "❌ Problem: zamba.conf ist vorhanden: $ZAMBA_CONF"
|
||||
exit 2
|
||||
else
|
||||
echo "✅ OK: zamba.conf ist nicht vorhanden"
|
||||
exit 0
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user