Bugfix Profilename in mozilla_starter to make execution with additional profile possible.

Smaller changes in Annotations
This commit is contained in:
Daniel Pätzold
2026-03-06 15:55:53 +01:00
parent cd0d655cad
commit 9e02483f04
5 changed files with 22 additions and 281 deletions
+3 -4
View File
@@ -7,8 +7,6 @@
source ./setup_system.conf
source ./setup_system.inc.sh
#Lokal Vars
#Check for root
if [ "$EUID" -ne 0 ]; then
echo "Error: Script requires root privileges. It should be executed via logon-script and not standalone."
@@ -18,8 +16,8 @@ fi
#Check Token
if [ "${DAVTOKEN_USER}." == "." ]; then
echo "Error: Script cannot be executed standalone and needs a prereserved environement from logon-script."
echo "To get executed without password prompt, use the NOPASSWD rule in sudo."
echo "In FreeIPA you can use the sudo-option !authenticate in the sudo rule."
echo "To get executed without password prompt, use the NOPASSWD rule in sudo. In FreeIPA you can use the sudo-option !authenticate in the sudo rule."
echo "Additionally add the sudo command to the rule: ^\/sys_config\/system_setup\/sync_client_software\.sh.*$"
exit 1
fi
@@ -61,6 +59,7 @@ if [[ $? -ne 0 ]]; then
echo ""
exit 1
fi
#Files must be owned by root
chown root:root -R ${CLIENT_SOFTWARE_DST}
chmod u+rw,go-rwx -R ${CLIENT_SOFTWARE_DST}
if [ -f "${CLIENT_SOFTWARE_DST}/install.sh" ]; then