06-09-2018, 06:19 AM
Just make sure it looks like this
https://unix.stackexchange.com/questions...c-rc-local
Or it might hang
Code:
#!/bin/sh -e
#
# rc.local - executed at the end of each multiuser runlevel
#
# Make sure that the script will "exit 0" on success or any other
# value on error.
all the stuff you wanna run up there...yadda yadda
exit 0
Or it might hang