summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/usr/local/bin/tails-persistence-setup
blob: 036edbafb06a7d15c4502e0f716ee5c0eef54b77 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

set -e

RUN_AS_USER=tails-persistence-setup

xhost +SI:localuser:"$RUN_AS_USER"
gksudo -u "$RUN_AS_USER" /usr/bin/tails-persistence-setup
xhost -SI:localuser:"$RUN_AS_USER"