aboutsummaryrefslogtreecommitdiff
path: root/network/openvas-scanner/rc.openvassd
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-04-12 19:01:36 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:37:52 +0200
commit4bf50e435b46175be516675339fad4e86fdf7e5c (patch)
tree324c1ee3479e6cfd42a447032cc39ee3c732f62e /network/openvas-scanner/rc.openvassd
parenta5b6bff93b0811add723674a2167729acb7f49b4 (diff)
network/openvas-scanner: Updated build with new config file.
Diffstat (limited to 'network/openvas-scanner/rc.openvassd')
-rw-r--r--network/openvas-scanner/rc.openvassd5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/openvas-scanner/rc.openvassd b/network/openvas-scanner/rc.openvassd
index 4ae0183ccea18..1e13df9951863 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() {