mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-09 19:29:00 +01:00
24 lines
432 B
Text
24 lines
432 B
Text
![]() |
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
purge_files()
|
||
|
{
|
||
|
for i in $(ls /home)
|
||
|
do
|
||
|
path=/home/$i/.config/
|
||
|
if [ -h $path/autostart/opensnitch_ui.desktop -o -f $path/autostart/opensnitch_ui.desktop ];then
|
||
|
rm -f $path/autostart/opensnitch_ui.desktop
|
||
|
fi
|
||
|
if [ -d $path/opensnitch/ ]; then
|
||
|
rm -rf $path/opensnitch/
|
||
|
fi
|
||
|
done
|
||
|
}
|
||
|
|
||
|
case "$1" in
|
||
|
purge)
|
||
|
purge_files
|
||
|
;;
|
||
|
esac
|