Make Logon accept search Parameter for install

This commit is contained in:
Daniel Pätzold
2026-03-28 20:32:15 +01:00
parent 7e16182bd1
commit 0067c7ebfd
6 changed files with 9 additions and 143 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ else
elog_add "Matching Sudo rule found."
elog_add ""
elog_add "Running client software install..."
elog_add_command "/usr/bin/sudo -n --preserve-env ${SYSCONFIGPATH}/system_setup/sync_client_software.sh install"
elog_add_command "/usr/bin/sudo -n --preserve-env ${SYSCONFIGPATH}/system_setup/sync_client_software.sh install $1"
#ERRTXT=$( { /usr/bin/sudo -n --preserve-env ${SYSCONFIGPATH}/system_setup/sync_client_software.sh install > >(tee -a ${LOGFILE}); } 2>&1 )
#ERR=$?
if [[ $RETNO -ne 0 ]]; then
+1 -1
View File
@@ -72,7 +72,7 @@ if [ -f "${CLIENT_SOFTWARE_DST}/install.sh" ]; then
fi
echo "Sucessfully synced."
if [ $1 == "install" ]; then
${CLIENT_SOFTWARE_DST}/install.sh
${CLIENT_SOFTWARE_DST}/install.sh $2
if [ $? -ne 0 ]; then
exit 1
fi