I have a bash script that changes some configuration in OS and database and it needs reboot then other commands are needed to be run. something like this:
newvalue1=
ip=
.
.
some commands
.
.
reboot
.
.
some other commands
what to do to make this happen?
(there are 2 other questions like this on stack exchange, Q1 and Q2 but they were asked long time ago and users are no longer active to ask them questions. i asked again to find out if there is new ideas and answers)