Add user_run scripts for non root tasks
This commit is contained in:
@@ -31,7 +31,5 @@ wget -q -P ${SCRIPTPATH} --timestamping https://github.com/nextcloud-releases/ta
|
||||
|
||||
#TODO: Check if Talk is installed - if not, exit 1
|
||||
|
||||
#Always start App
|
||||
su -c "/usr/bin/nohup /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background >/dev/null 2>&1 &" $SUDO_USER
|
||||
exit 0
|
||||
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Start Nextcloud Talk in Background
|
||||
/usr/bin/nohup flatpak run --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background 1>/dev/null 2>&1 &
|
||||
@@ -103,6 +103,13 @@ else
|
||||
fi
|
||||
echo ""
|
||||
|
||||
#Anyway run user scripts if existent
|
||||
elog_add_command "${CLIENT_SOFTWARE_DST}/user_run.sh $2"
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
elog_add ""
|
||||
|
||||
#SYNC Firefox + Thunderbird Profile
|
||||
${SYSCONFIGPATH}/system_setup/mozilla_starter.sh firefox sync && ${SYSCONFIGPATH}/system_setup/mozilla_starter.sh thunderbird sync
|
||||
elog_add "Successfully synced Mozilla profiles (log in another file)."
|
||||
|
||||
Reference in New Issue
Block a user