From 15b0bba3293b6d9fd2e840b7ba6bb43a82f0689c Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 21 Jul 2024 22:49:00 +0000 Subject: [PATCH] sanebox: implement --sanebox-pasta-arg, useful for debugging --- pkgs/additional/sanebox/sanebox | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/additional/sanebox/sanebox b/pkgs/additional/sanebox/sanebox index 6c67ebdc3..b120c28ea 100755 --- a/pkgs/additional/sanebox/sanebox +++ b/pkgs/additional/sanebox/sanebox @@ -122,6 +122,7 @@ usage() { echo ' --sanebox-no-portal' echo ' undo a previous `--sanebox-portal` arg' echo ' --sanebox-bwrap-arg ' + echo ' --sanebox-pasta-arg ' echo ' --sanebox-net-dev |all' echo ' --sanebox-net-gateway ' echo ' --sanebox-dns ' @@ -531,6 +532,11 @@ parseArgs() { shift bwrapFlags+=("$bwrapFlag") ;; + (--sanebox-pasta-arg) + local pastaArg=$1 + shift + pastaArgs+=("$pastaArg") + ;; (--sanebox-net-dev) netDev=$1 shift