diff --git a/src/freedombone-controlpanel-user b/src/freedombone-controlpanel-user index a009902d..5719dace 100755 --- a/src/freedombone-controlpanel-user +++ b/src/freedombone-controlpanel-user @@ -754,7 +754,7 @@ function menu_admin { clear exit 0 fi - sudo ${PROJECT_NAME}-controlpanel + sudo /usr/local/bin/control } function sign_keys { diff --git a/src/freedombone-prepare-scripts b/src/freedombone-prepare-scripts index 10a2b9af..1c8551a1 100755 --- a/src/freedombone-prepare-scripts +++ b/src/freedombone-prepare-scripts @@ -38,6 +38,9 @@ cat /tmp/includescripts /usr/local/bin/freedombone-controlpanel-user > /usr/loca sed -i '/# Start including files/,/# End including files/d' /usr/local/bin/control sed -i '/# Start including files/,/# End including files/d' /usr/local/bin/controluser +chmod +x /usr/local/bin/control +chmod +x /usr/local/bin/controluser + rm /tmp/includescripts exit 0