Topic: 2 Questions related to playing games and bash scripting
So I have noticed, that to run any game like wesnoth, I have to type su and run the game using /usr/games/wesnoth
normal wesnoth doesn't do anything. I also need to be a root
Why is this?
Also when I try to run Wyrmsun, I get this:
sh-5.1# /usr/games/wyrmsun /usr/games/wyrmsun: line 3: exec: wyrmgus: not found
That was question number one.
Second question is, let's say I write a simple bash script, where I put some commands, that would help me to connect to my phone, to get internet connection.
Is it possible to tell my laptop to run this script during boot? Can I put this script as a service for example? So everytime I turn Hyperbola on, it will run this script automatically?
All the best.