10
submitted 1 year ago by [email protected] to c/[email protected]

I know there are some tools including firejail and bindtointerface on standard Linux Distros, but they don't run in userland, so whenever the deck updates they will be overwritten.

Anyone have any ideas how to block access on a Steam Deck?

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 11 months ago* (last edited 11 months ago)

This is the script. /home/deck/scripts/fstab contains my customised fstab file. Yes, after an update, I just run this script once.

#!/bin/bash

if [ ! -f ~/.config/kdesurc ];then
  touch ~/.config/kdesurc
  echo "[super-user-command]" > ~/.config/kdesurc
  echo "super-user-command=sudo" >> ~/.config/kdesurc
fi

if [ ! -f /var/mnt/nas ];then
  sudo -c 'sudo mkdir "/var/mnt/nas"'
fi

sudo cp -a /home/deck/scripts/fstab /etc/fstab
sudo steamos-readonly disable
sudo pacman -Syy
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman -S --overwrite "*" nfs-utils
sudo steamos-readonly enable
sudo mount -a
[-] [email protected] 1 points 11 months ago

Thank you. I really appreciate you sharing, this helps a lot!

this post was submitted on 24 Sep 2023
10 points (91.7% liked)

SteamDeckPirates

1672 readers
1 users here now

Discuss piracy on Valve's portable handheld - the Steam Deck.

founded 1 year ago
MODERATORS