containerdesk/xfce/usr/local/bin/wrapped-chromium
2023-05-31 16:18:07 +02:00

10 lines
257 B
Bash
Executable file

#!/bin/bash
BIN=/usr/bin/chromium-browser
# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp: 0' /proc/1/status; then
${BIN} --password-store=basic "$@"
else
${BIN} --password-store=basic --no-sandbox --test-type "$@"
fi