how to export a bash shell variable before init.d process start
Hi All
How to export a bash shell variable before a init.d process starts and if i export a bash variable in the /etc/init.d/"demon" work ??. |
It depends on your distro, but usually, there is a /etc/init.d/rc script that launches the other scripts.
Anyway, is there any use in exporting a bash variable before launching the daemon script? Isn't the daemon script just the place where you should export the variables? |
All times are GMT -5. The time now is 03:51 AM. |