Linux - Run Script after reboot
-
@scottalanmiller said in Linux - Run Script after reboot:
I might implement a script like this. Care to share the script itself?
Not back in till Wednesday but it's a simple one so far
Asks for a hostname on a prompt and runs hostnamectl
Then asks for ip to assign and runs a few sed commands to edit the cfg-eth0 file.So the main idea is to run the command/script when root logs in next.