-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathText File.txt
More file actions
31 lines (21 loc) · 775 Bytes
/
Copy pathText File.txt
File metadata and controls
31 lines (21 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Mullvad VPN
canon_dest=/var/opt/'Mullvad VPN'
dest=/usr/share/factory/${canon_dest##/}
mkdir -p /var/opt /usr/share/factory/var/opt
dnf5 install -y mullvad-vpn
ls /var/opt/
mv -T "$canon_dest" "$dest"
cat >/usr/lib/tmpfiles.d/mullvad-vpn.conf <<EOF
#Type Path Mode User Group Age Argument…
C+ $canon_dest - - - - $dest
EOF
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/mullvad.repo
# CrossOver
canon_dest=/var/opt/'cxoffice'
dest=/usr/share/factory/${canon_dest##/}
dnf5 install -y http://crossover.codeweavers.com/redirect/crossover.rpm
cp -r "$canon_dest" "$dest"
cat >/usr/lib/tmpfiles.d/crossover.conf <<EOF
#Type Path Mode User Group Age Argument…
C+ $canon_dest - - - - $dest
EOF