block brave autoupdates
This commit is contained in:
parent
caea254971
commit
b07a297fe6
1 changed files with 4 additions and 0 deletions
4
larbs.sh
4
larbs.sh
|
@ -232,6 +232,10 @@ sed -i "s/^$name:\(.*\):\/bin\/.*/$name:\1:\/bin\/zsh/" /etc/passwd
|
||||||
# dbus UUID must be generated for Artix runit.
|
# dbus UUID must be generated for Artix runit.
|
||||||
dbus-uuidgen > /var/lib/dbus/machine-id
|
dbus-uuidgen > /var/lib/dbus/machine-id
|
||||||
|
|
||||||
|
# Block Brave autoupdates just in case. (I don't know if these even exist on Linux, but whatever.)
|
||||||
|
grep -q "laptop-updates.brave.com" /etc/hosts || echo "0.0.0.0 laptop-updates.brave.com
|
||||||
|
0.0.0.0 go-updater.brave.com" >> /etc/hosts
|
||||||
|
|
||||||
# Let LARBS know the WM it's supposed to run.
|
# Let LARBS know the WM it's supposed to run.
|
||||||
echo "$edition" > "/home/$name/.local/share/larbs/wm"; chown -R "$name":wheel "/home/$name/.local"
|
echo "$edition" > "/home/$name/.local/share/larbs/wm"; chown -R "$name":wheel "/home/$name/.local"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue