mirror of
https://github.com/tommytran732/QubesOS-Scripts.git
synced 2025-12-16 00:23:56 -05:00
Replace 'sudo' with 'run0' in sys-usb script
Signed-off-by: Ganwtrs <morga.nwinters-99@aliasvault.net>
This commit is contained in:
parent
310b7344e3
commit
3f9ab73e38
1 changed files with 4 additions and 4 deletions
|
|
@ -17,15 +17,15 @@
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
unpriv(){
|
unpriv(){
|
||||||
sudo -u nobody "${@}"
|
run0 -u nobody "${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
download() {
|
download() {
|
||||||
unpriv curl -s --proxy http://127.0.0.1:8082 "${1}" | sudo tee "${2}" > /dev/null
|
unpriv curl -s --proxy http://127.0.0.1:8082 "${1}" | run0 tee "${2}" > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
curl -s --proxy http://127.0.0.1:8082 -L https://github.com/trustcrypto/OnlyKey-App/releases/download/v5.5.0/OnlyKey_5.5.0_amd64.deb -O
|
curl -s --proxy http://127.0.0.1:8082 -L https://github.com/trustcrypto/OnlyKey-App/releases/download/v5.5.0/OnlyKey_5.5.0_amd64.deb -O
|
||||||
|
|
||||||
sudo apt-get install gnome-disk-utility qubes-video-companion ./OnlyKey_5.5.0_amd64.deb
|
run0 apt-get install gnome-disk-utility qubes-video-companion ./OnlyKey_5.5.0_amd64.deb
|
||||||
|
|
||||||
sudo systemctl disable --now hide-hardware-info.service
|
run0 systemctl disable --now hide-hardware-info.service
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue