Page 1 of 1

Fing --sentinel: configuration and use?

Posted: Sun 31 Dec 2017, 14:21
by Argolance
Bonjour,
I created a FingBox discovery configuration with 'fing --interactive' command.
Created profile has been placed in the Sentinel configuration folder /var/data/fing/sentinel/
Then, I linked the init.d script from /usr/local/lib/fing/init.d/fingbox-sentinel to /etc/init.d folder and should now add it to my services" with the command:

Code: Select all

 chkconfig --add fingbox-sentinel
This doesn't seem to be the way to proceed using Puppy.
How to do this?
And consequently to manually control the service:
start:

Code: Select all

service fingbox-sentinel start
stop:

Code: Select all

service fingbox-sentinel stop
restart:

Code: Select all

service fingbox-sentinel restart 
and finally to manage the service with upstart (after copying upstart script from /usr/local/lib/fing/upstart/fingbox-sentinel.conf to /etc/init folder):

Code: Select all

start: [sudo] start fingbox-sentinel
stop: [sudo] stop fingbox-sentinel
All this is a bit confusing for me!
Note that I modified the fingbox-sentinel script to get function from functions library:

Code: Select all

#. /etc/init.d/functions
. /lib/lsb/init-functions
Seems working...

Cordialement.