Browse Source

Avoid problem with matrix after installing apps

Bob Mottram 7 years ago
parent
commit
0d8fe26da3
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      src/freedombone-controlpanel

+ 9
- 0
src/freedombone-controlpanel View File

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;;