1 - I have several shell scripts, each with a different function, which are in a common user directory; ( I use Debian 8.1 )
2 - I need that after the system boot, the /et/init.d call a main shell script, so that it starts to rotate a loop
3 - All scripts run in the user directory
4 - These shells scripts have several internal commands such as cat, grep, bc, etc ....,
5 - These scripts work with text cleaning, then create several temporary files, always within the same user directory.
6 - I tried to make a Calls in /etc/init.d, but the first script to fires, but it seems that the system does not
runs within the user's directory, not creating temporary files, and not calling scripts (includes) that are
listed on the main shell.
Work: I need help to create a /etc/init.d/[url removed, login to view] entering into the user directory, activate the master script,
which will be running as an endless loop, so that he can call the side scripts that are in the directory.
added a script below it sure is wrong, it does not run in the user directory.
8 freelanceria on tarjonnut keskimäärin $51 tähän työhön
I have more than 20 years experience into shell scripting and won many awards from my previous employers for best automations and ideas for IT process improvement.