I've created a bash script 'foo'. I've made that script executable with
chmod+x
and added it the the start-up by running
sudo update-rc.d foo defaults 80
Despite that, it doesn't appear to be working at startup. Is there a way to have my script echo messages to a log? Or is there some log that would record events/errors for this?
atm, I feel like I'm flying blind and don't really know how to troubleshoot this.
As requested, here is the content of my script:
#!/bin/bash
modprobe uinput
/home/dane/dev/mangler/run.sh /home/dane/dev/mangler/dane/keys.js
the run.sh command executes program kbd-mangler.exe. When running the following in a gnome-terminal it works:
~/$ sudo bash custom_keys.sh