Error in Red Hat Enterprise Linux Server release 7.5 with start-stop-daemon

0

I'm trying to start a script during startup but it does not work. Once I have finished the script and the symbolic links of /etc/init.d/Script to /etc/rc3.d/ and /etc/rc6.d reboot and I verify that my script has not been executed. When executing the Script directly from /etc/init.d it throws the following error:

  

... line 23: start-stop-daemon: order not found

Any ideas? Thanks

    
asked by vurgeando 20.05.2018 в 18:58
source

1 answer

0

I do not know what I was thinking about when asking the question: |

I just installed the package from this link and it works perfectly.

Anyway, I put the code here:

#!/bin/bash cd /usr/local/src wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz tar zxvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz cd apps/sys-utils/start-stop-daemon-IR1_9_18-2 gcc start-stop-daemon.c -o start-stop-daemon cp start-stop-daemon /usr/sbin/

Greetings

    
answered by 20.05.2018 в 19:10