Bugfix Profilename in mozilla_starter to make execution with additional profile possible.
Smaller changes in Annotations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user