summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/lh_system_start.sh
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2025-01-02 20:34:05 (GMT)
committerBritney Fransen <brfransen@gmail.com>2025-01-02 20:34:05 (GMT)
commit4fca9450a782fb1c8cdee83a39e81e500913f750 (patch)
treeb9048912c33cb53423ccdd6b489dcf1b3f0e3958 /linhes/linhes-system/lh_system_start.sh
parentf612262ebffc03a51b25dd7a6c64d4ec4debebaf (diff)
downloadlinhes_pkgbuild-4fca9450a782fb1c8cdee83a39e81e500913f750.zip
linhes_pkgbuild-4fca9450a782fb1c8cdee83a39e81e500913f750.tar.gz
linhes_pkgbuild-4fca9450a782fb1c8cdee83a39e81e500913f750.tar.bz2
linhes-system: lh_system_start.sh: ask systemtype before app install
add kwallet-pam and kwalletmanager to deps and change system_sudo permissions
Diffstat (limited to 'linhes/linhes-system/lh_system_start.sh')
-rwxr-xr-xlinhes/linhes-system/lh_system_start.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/linhes/linhes-system/lh_system_start.sh b/linhes/linhes-system/lh_system_start.sh
index f77c465..d1bd2b9 100755
--- a/linhes/linhes-system/lh_system_start.sh
+++ b/linhes/linhes-system/lh_system_start.sh
@@ -88,16 +88,16 @@ function localweb_setup(){
function first_configure(){
if [ ! -f ~/.config/lh_configured ]; then
msg "New install of LinHES. Starting setup."
- install_lh_apps
- nanorc_setup
- bashrc_setup
- x11vnc_setup
if [ -f /etc/systemconfig ]; then
SystemType=$(grep SystemType= /etc/systemconfig | cut -d '"' -f 2)
else
SystemType=$(kdialog --title "LinHES System Type" --combobox "Select the LinHES System Type: " "MasterBackend" "FrontendOnly" "DesktopOnly" --default "MasterBackend")
echo "SystemType=\"$SystemType\"" | sudo tee /etc/systemconfig
fi
+ install_lh_apps
+ nanorc_setup
+ bashrc_setup
+ x11vnc_setup
#apply settings for specific system types
msg "Setup as $SystemType"
if [ $SystemType = "MasterBackend" ]; then