diff options
author | Marco Bonetti <sid77@slackware.it> | 2010-04-12 19:01:36 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-15 10:37:52 +0200 |
commit | 4bf50e435b46175be516675339fad4e86fdf7e5c (patch) | |
tree | 324c1ee3479e6cfd42a447032cc39ee3c732f62e /network/openvas-scanner/rc.openvassd | |
parent | a5b6bff93b0811add723674a2167729acb7f49b4 (diff) | |
download | slackbuilds-4bf50e435b46175be516675339fad4e86fdf7e5c.tar.gz |
network/openvas-scanner: Updated build with new config file.
Diffstat (limited to 'network/openvas-scanner/rc.openvassd')
-rw-r--r-- | network/openvas-scanner/rc.openvassd | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/network/openvas-scanner/rc.openvassd b/network/openvas-scanner/rc.openvassd index 4ae0183cce..1e13df9951 100644 --- a/network/openvas-scanner/rc.openvassd +++ b/network/openvas-scanner/rc.openvassd @@ -1,10 +1,13 @@ #!/bin/sh +# Get OpenVAS options +. /etc/rc.d/rc.openvas.conf + PIDFILE="/var/run/openvassd.pid" start() { echo "Starting OpenVAS scanner..." - openvassd + openvassd --port=${SCA_PORT} ${SCA_OPTIONS} } stop() { |