gast1-session.sh 389 Bytes
Newer Older
Fjen Undso's avatar
Fjen Undso committed
1
#!/bin/bash
Fjen Undso's avatar
Fjen Undso committed
2
3
4
5
6
7
8
9
10
11
12
# old style template copy
#rm -rf /home/gast1
#cp -a /home/gasttemplate /home/gast1
#chown -R gast1: /home/gast1

# clean guest overlayfs
# unmount and mount, because random shit can happen
umount /home/gast1
rm -r /home/gast1.writable/* /home/gast1.writable/.[!.]* /home/gast1.writable/..?* || true
mount /home/gast1
chown gast1: /home/gast1/.PlayOnLinux/wineprefix/battlenet