From c3cdce3b312ddb21a2d2b984faae67a4116663d6 Mon Sep 17 00:00:00 2001 From: Fabio Rodrigues Ribeiro Date: Thu, 23 Jul 2020 18:02:00 -0300 Subject: [PATCH] Move to root script --- root.sh | 1 + startup.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/root.sh b/root.sh index edd1807..559b576 100644 --- a/root.sh +++ b/root.sh @@ -1,6 +1,7 @@ #!/bin/bash /etc/init.d/warsaw start +/etc/init.d/pcscd start # Run Firefox as non privileged user setpriv --reuid=ff --regid=ff --init-groups --inh-caps=-all --reset-env env DISPLAY=$DISPLAY LANG=$LANG TZ=$TZ startup.sh diff --git a/startup.sh b/startup.sh index 7efa274..e94a0a4 100644 --- a/startup.sh +++ b/startup.sh @@ -8,7 +8,6 @@ cp /tmp/.docker.xauth /tmp/auth runx xauth add ${HOSTNAME}/unix${DISPLAY} . $(runx xauth list | awk '$1 !~ /localhost/ {print $3; exit}') runx xauth generate $DISPLAY . untrusted timeout 0 -su -c "/etc/init.d/pcscd start" /usr/local/bin/warsaw/core \ && runx firefox -no-remote -CreateProfile default \ && runx firefox -no-remote -private-window --class CaixaEconomica --name CaixaEconomica https://www.caixa.gov.br