Hi,
I want to start this script after reboot my OMV
file graph_fix
#!/bin/sh
### BEGIN INIT INFO
# Provides: Graphic FIX OMV
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
rm -r /var/lib/rrdcached/db/localhost
rm /var/lib/rrdcached/journal/*
service collectd restart
service rrdcached restart
I have copied my file to /etc/init.d/
after i linked this file in /etc/rcS.d/ & /etc/rc1.d/ & /etc/rc2.d/
but it does'nt work
Thanks