New customer software repository and small fixes #30
@@ -18,13 +18,13 @@ echo "Setup KWallet Password- Service."
|
|||||||
|
|
||||||
#Check for root
|
#Check for root
|
||||||
if [ "$EUID" -ne 0 ]; then
|
if [ "$EUID" -ne 0 ]; then
|
||||||
echo "Error: Script requires root. Please check if ${SCRIPTPATH}/${SCRIPTNAME} is in sudoers rules and if you are a member. And if executed via sudo."
|
echo "Error: Script requires root."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Check Token
|
#Check Token
|
||||||
if [ "${DAVTOKEN_USER}." == "." ]; then
|
if [ "${DAVTOKEN_USER}." == "." ]; then
|
||||||
echo "Error: Script cannot be executed standalone and needs a prereserved Environment. Quit."
|
echo "Error: Script cannot be executed standalone and needs a prereserved environment from sync_client_software.sh. Quit."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Restart and test Kwallet- Service
|
# Restart and test Kwallet- Service
|
||||||
|
|
||||||
|
#Check Token
|
||||||
|
if [ "${DAVTOKEN_USER}." == "." ]; then
|
||||||
|
echo "Error: Script cannot be executed standalone and needs a prereserved environment from sync_client_software.sh. Quit."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Vars
|
# Vars
|
||||||
WALLETAPPID="sys_config_wallet_script"
|
WALLETAPPID="sys_config_wallet_script"
|
||||||
WALLETNAME="kdewallet"
|
WALLETNAME="kdewallet"
|
||||||
|
|||||||
@@ -7,7 +7,13 @@
|
|||||||
|
|
||||||
#Check for root
|
#Check for root
|
||||||
if [ "$EUID" -ne 0 ]; then
|
if [ "$EUID" -ne 0 ]; then
|
||||||
echo "Error: Script requires root. Please check if ${SCRIPTPATH}/${SCRIPTNAME} is in sudoers rules and if you are a member. And if executed via sudo."
|
echo "Error: Script requires root."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
#Check Token
|
||||||
|
if [ "${DAVTOKEN_USER}." == "." ]; then
|
||||||
|
echo "Error: Script cannot be executed standalone and needs a prereserved environment from sync_client_software.sh. Quit."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
Central Software installation script Repository
|
# Pre installed software installation script repository
|
||||||
Must be executed from script ../sync_client_software.sh
|
|
||||||
|
|
||||||
The install script here will check for the right environment, and execute the install.sh script in each directory.
|
Contains Packages to install and setup at user logon first.
|
||||||
|
Each package is in one directory and may include two scripts which will be called from user logon script:
|
||||||
|
|
||||||
Be sure to name the directories to get sorted the right way.
|
- install.sh - will be called with root- privileges to install software or other administrative tasks
|
||||||
E.g. you may use all base installations with directories beginning with numbers < 0100 and all additional apps with numbers > 0100
|
- user_run.sh - will get executed after all admins scripts had been executed in user context to setup user configs ad data
|
||||||
|
|
||||||
|
The execution will be sorted by directory name.
|
||||||
|
|||||||
Reference in New Issue
Block a user