PixL Posted February 9, 2018 Share 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 Link to comment Share on other sites More sharing options...
Samandahl Posted February 10, 2018 Share 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 Link to comment Share on other sites More sharing options...
i8igmac Posted February 10, 2018 Share Posted February 10, 2018 https://unix.stackexchange.com/questions/353137/run-a-command-on-startup-in-kali Looks like the ticket 1 Quote Link to comment Share on other sites More sharing options...
PixL Posted February 10, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
PixL Posted February 10, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
b0N3z Posted August 6, 2018 Share 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 Link to comment Share on other sites More sharing options...
i8igmac Posted August 6, 2018 Share Posted August 6, 2018 1 Quote Link to comment Share on other sites More sharing options...
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.