mirror of
https://github.com/linuxserver/docker-opera.git
synced 2026-02-01 06:44:14 +08:00
11 lines
252 B
Bash
Executable File
11 lines
252 B
Bash
Executable File
#! /bin/bash
|
|
|
|
BIN=/usr/bin/opera-real
|
|
|
|
# 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
|