fix update script
This commit is contained in:
parent
58bed7335d
commit
b5a2fcbc5b
|
@ -1,5 +1,5 @@
|
|||
%define version 0.0.1
|
||||
%define release 1.beta6
|
||||
%define release 1.beta7
|
||||
%define name ipasserelle-gp
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
USER=$(db configuration getprop wpkg RsyncUser || echo $(db configuration get DomainName))
|
||||
PASS=$(db configuration getrpop wpkg RsyncPassword || echo secret)
|
||||
PASS=$(db configuration getprop wpkg RsyncPassword || echo secret)
|
||||
SERVER=$(db configuration getprop wpkg RsyncServer || echo not.set)
|
||||
|
||||
RSYNC_PASSWORD=$PASS /usr/bin/rsync -rtPz $USER@$SERVER /home/e-smith/files/shares/wpkg/files/
|
||||
|
|
|
@ -7,7 +7,7 @@ my $user = ${'fusioninventory-agent'}{'User'} || $DomainName;
|
|||
my $pass = ${'fusioninventory-agent'}{'Password'} || 'secret';
|
||||
|
||||
my $out .=<"EOF";
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\FusionInventory-Agent]
|
||||
[HKEY_LOCAL_MACHINE\\SOFTWARE\\FusionInventory-Agent]
|
||||
"server"="$server"
|
||||
"tag"="$DomainName"
|
||||
"user"="$user"
|
||||
|
|
Loading…
Reference in New Issue
Block a user