how to continue a bash script after it reboots the

2019-08-07 15:10发布

问题:

I'm working on a bash script for installing and setting up docker and run a application. The script needs to reboot the system and should continue after the reboot. I'm new with BASH, please help me getting through this.

Thanks.

回答1:

Try putting everything that you need to execute after the reboot here:

/etc/rc.local