mirror of
https://github.com/unraid/webgui.git
synced 2026-05-06 20:30:50 -05:00
Move restore favorites after plugin installs
This commit is contained in:
+5
-5
@@ -76,11 +76,6 @@ fi
|
||||
/usr/local/emhttp/webGui/scripts/notify smtp-init
|
||||
/usr/local/emhttp/webGui/scripts/notify cron-init
|
||||
|
||||
# restore favorites
|
||||
if [[ -x /usr/local/emhttp/webGui/scripts/restore_favorites ]]; then
|
||||
/usr/local/emhttp/webGui/scripts/restore_favorites
|
||||
fi
|
||||
|
||||
# start nchan monitoring -> stop all running nchan processes when no subscribers are connected
|
||||
if [[ -x /usr/local/sbin/monitor_nchan ]]; then
|
||||
/usr/local/sbin/monitor_nchan
|
||||
@@ -177,6 +172,11 @@ for LANGUAGE in $CONFIG/plugins/lang-*.xml; do
|
||||
done
|
||||
shopt -u nullglob
|
||||
|
||||
# restore favorites
|
||||
if [[ -x /usr/local/emhttp/webGui/scripts/restore_favorites ]]; then
|
||||
/usr/local/emhttp/webGui/scripts/restore_favorites
|
||||
fi
|
||||
|
||||
# Enable persistent bash history
|
||||
PERSISTENT_BASH_HISTORY=$(grep "persist_bash_history" /boot/config/plugins/dynamix/dynamix.cfg 2>/dev/null | cut -d'=' -f2 | sed 's/"//g')
|
||||
if [[ $PERSISTENT_BASH_HISTORY == 1 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user