tails-delete-persistent-volume 206 Bytes
Newer Older
1
2
3
4
5
6
#!/bin/sh

set -e

RUN_AS_USER=tails-persistence-setup

7
cd /
8
xhost +SI:localuser:"$RUN_AS_USER"
9
sudo -u "$RUN_AS_USER" /usr/bin/tails-persistence-setup --step delete "$@"
10
xhost -SI:localuser:"$RUN_AS_USER"