PixL Posted February 9, 2018 Posted February 9, 2018 Back in the day you would just put a command into rc.local and that was that but now rc.local is gone. I've seen many suggested ways of running a script at startup but nothing is working for me and I just wondered if anyone had any ideas? I'm running the Kali on a raspberry pi. Quote
Samandahl Posted February 10, 2018 Posted February 10, 2018 Dunno if it'll help ya, I went with the dumbest possible way, wrote a simple *.sh file, and in the settings added it to the Auto-Start menu. Works wonders. Quote
i8igmac Posted February 10, 2018 Posted February 10, 2018 https://unix.stackexchange.com/questions/353137/run-a-command-on-startup-in-kali Looks like the ticket 1 Quote
PixL Posted February 10, 2018 Author Posted February 10, 2018 (edited) Hmm i've tried that one before but i'll try it again..... doesn't work :( Edited February 10, 2018 by PixL Quote
PixL Posted February 10, 2018 Author Posted February 10, 2018 I've set the pi to autologin and then added my script to the startup apps.. not ideal but it works Quote
b0N3z Posted August 6, 2018 Posted August 6, 2018 running kali on rpi3 and need run a command on startup to set gps device. going through all the stackoverflow threads and searching google I still cant figure out how to get it working. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.