Logon script setup: Moved to client software

This commit is contained in:
Daniel Pätzold
2026-04-09 14:17:53 +02:00
parent c9e38bba32
commit 7476c27256
4 changed files with 19 additions and 15 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env sh
# SPDX-FileCopyrightText: Daniel Pätzold
# SPDX-License-Identifier: AGPL-3.0-or-later
#
#Copy current Version of Autostart-Entry
rm -f "${HOME}/.config/autostart/logon_script.sh.desktop"
cp "${SCRIPTPATH}/logon_script.sh.desktop" "${HOME}/.config/autostart"
if [ $? -ne 0 ]; then
elog_add "Failed to setup autostart- entry. Check your installation of these scripts."
echo "Press any key to continue" && read -n 1 -s -r && exit 1
fi
exit 0