Rebuild profile router as secure recoverable v2
This commit is contained in:
@@ -9,5 +9,11 @@ case "${1:-}" in
|
||||
*) echo "Usage: fake-llama-profile {fast|medium|long}"; exit 1 ;;
|
||||
esac
|
||||
|
||||
if [ -f /tmp/fake-profile-fail ] \
|
||||
&& [ "$(cat /tmp/fake-profile-fail)" = "$1" ]; then
|
||||
echo "fake: simulierter Profilfehler für '$1'"
|
||||
exit 42
|
||||
fi
|
||||
|
||||
cp "$D/profile-$1.conf.disabled" "$D/override.conf"
|
||||
echo "fake: Profil '$1' gesetzt"
|
||||
|
||||
Reference in New Issue
Block a user