summaryrefslogtreecommitdiffstats
path: root/fusioninventory-agent-revert.patch
blob: 4ce41b55b513360b1f258a7721a9e60be2540009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
diff -up FusionInventory-Agent-2.1.8/Changes.orig FusionInventory-Agent-2.1.8/Changes
--- FusionInventory-Agent-2.1.8/Changes.orig	2011-03-31 05:48:38.000000000 +0200
+++ FusionInventory-Agent-2.1.8/Changes	2011-03-31 05:48:59.000000000 +0200
@@ -10,8 +10,6 @@ Revision history for FusionInventory::Ag
        * Win32/AntiVirus: avoid pointless OLE error
        * Add BNQ screen manufacturer support
          https://bugs.launchpad.net/bugs/736095
-       * scan-homedirs and rpc-trust-localhost don't works in command line
-         http://forge.fusioninventory.org/issues/636
        * Update the Inventory XML documentation
        * HPUX: use NAME instead of TYPE to set the CPU name (Yanick Durant)
          http://forum.fusioninventory.org/viewtopic.php?id=278
diff -up FusionInventory-Agent-2.1.8/lib/FusionInventory/Agent/Config.pm.orig FusionInventory-Agent-2.1.8/lib/FusionInventory/Agent/Config.pm
--- FusionInventory-Agent-2.1.8/lib/FusionInventory/Agent/Config.pm.orig	2011-03-31 05:49:17.000000000 +0200
+++ FusionInventory-Agent-2.1.8/lib/FusionInventory/Agent/Config.pm	2011-03-31 05:50:17.000000000 +0200
@@ -243,9 +243,9 @@ sub loadUserParams {
         'realm|r=s',
         'rpc-ip=s',
         'rpc-port=s',
-        'rpc-trust-localhost=s',
+        'rpc-trust-localhost',
         'remotedir|R=s',
-        'scan-homedirs=s',
+        'scan-homedirs',
         'share-dir=s',
         'server|s=s',
         'stdout',
@@ -331,8 +331,8 @@ Extra options:
     --logger                    Logger you want to use, can be Stderr,File or Syslog ($config->{logger})
     --rpc-ip=IP                 ip of the interface to use for peer to peer exchange ($config->{'rpc-ip'})
     --rpc-port=PORT     port use for RPC
-    --rpc-trust-localhost=X     allow local users to force an inventory from http://127.0.0.1:62354/now (0/1) ($config->{'rpc-trust-localhost'})
-    --scan-homedirs=X           permit to scan home user directories (0/1) ($config->{'scan-homedirs'})
+    --rpc-trust-localhost       allow local users to force an inventory from http://127.0.0.1:62354/now  ($config->{'rpc-trust-localhost'})
+    --scan-homedirs             permit to scan home user directories ($config->{'scan-homedirs'})
     --share-dir=DIR             path to the directory where the shared files are stored ($config->{'share-dir'})
     --stdout                    do not write or post the inventory but print it on STDOUT
     -t --tag=TAG                use TAG as tag ($config->{tag}) Will be ignored by server if a value already exists.