docker-webtop/root/usr/local/bin/wrapped-chromium
2023-03-31 16:55:41 -07:00

11 lines
250 B
Bash
Executable File

#! /bin/bash
BIN=/usr/bin/chromium
# 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