summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d87ea3)
raw | patch | inline | side by side (parent: 0d87ea3)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Dec 2007 14:41:30 +0000 (14:41 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Dec 2007 14:41:30 +0000 (14:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8081 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/daemon/gosa-sd | patch | blob | history |
diff --git a/contrib/daemon/gosa-sd b/contrib/daemon/gosa-sd
index 989a8238528265a1be36234626da0bddee30d17b..8ae06b0d018d11a221a42b7a3898d4785a14339e 100755 (executable)
--- a/contrib/daemon/gosa-sd
+++ b/contrib/daemon/gosa-sd
my ($max_clients);
my ($pid_file, $procid, $pid, $log_file);
my (%free_child, %busy_child, $child_max, $child_min, %child_alive_time, $child_timeout);
-my ($arp_activ, $arp_fifo, $arp_fifo_path);
+my ($arp_activ, $arp_fifo, $arp_fifo_path, $no_arp);
# variables declared in config file are always set to 'our'
our (%cfg_defaults, $log_file, $pid_file,
$no_bus = 0;
+$no_arp = 0;
+
# holds all other gosa-sd as well as the gosa-sd-bus
our $known_daemons = {};
our $shmda = tie($known_daemons, 'IPC::Shareable', undef, {create => 1,
"f|foreground" => \$foreground,
"v|verbose+" => \$verbose,
"no-bus+" => \$no_bus,
+ "no-arp+" => \$no_arp,
);
# read and set config parameters
daemon_log(" ", 1);
# start arp fifo
+if ($no_arp > 0) {
+ $arp_activ = "off";
+}
my $my_fifo;
if($arp_activ eq "on") {
$my_fifo = &open_fifo($arp_fifo_path);