sanebox: implement --sanebox-pasta-arg, useful for debugging
This commit is contained in:
@@ -122,6 +122,7 @@ usage() {
|
||||
echo ' --sanebox-no-portal'
|
||||
echo ' undo a previous `--sanebox-portal` arg'
|
||||
echo ' --sanebox-bwrap-arg <arg>'
|
||||
echo ' --sanebox-pasta-arg <arg>'
|
||||
echo ' --sanebox-net-dev <iface>|all'
|
||||
echo ' --sanebox-net-gateway <ip-address>'
|
||||
echo ' --sanebox-dns <server>'
|
||||
@@ -531,6 +532,11 @@ parseArgs() {
|
||||
shift
|
||||
bwrapFlags+=("$bwrapFlag")
|
||||
;;
|
||||
(--sanebox-pasta-arg)
|
||||
local pastaArg=$1
|
||||
shift
|
||||
pastaArgs+=("$pastaArg")
|
||||
;;
|
||||
(--sanebox-net-dev)
|
||||
netDev=$1
|
||||
shift
|
||||
|
Reference in New Issue
Block a user