瀏覽代碼

Avoid problem with matrix after installing apps

Bob Mottram 6 年之前
父節點
當前提交
0d8fe26da3
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9
    0
      src/freedombone-controlpanel

+ 9
- 0
src/freedombone-controlpanel 查看文件

1999
             2) menu_backup_restore;;
1999
             2) menu_backup_restore;;
2000
             3) menu_app_settings;;
2000
             3) menu_app_settings;;
2001
             4) if ! /usr/local/bin/addremove; then
2001
             4) if ! /usr/local/bin/addremove; then
2002
+                   if [ -d /etc/matrix ]; then
2003
+                       systemctl restart matrix
2004
+                       systemctl restart nginx
2005
+                   fi
2002
                    any_key
2006
                    any_key
2007
+               else
2008
+                   if [ -d /etc/matrix ]; then
2009
+                       systemctl restart matrix
2010
+                       systemctl restart nginx
2011
+                   fi
2003
                fi
2012
                fi
2004
                ;;
2013
                ;;
2005
             5) logging_on_off;;
2014
             5) logging_on_off;;