From 19897c5eb0a8bf0542c4168d203764e19794085d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 23 Jun 2017 10:44:25 +0100 Subject: [PATCH] Make control scripts executable --- src/freedombone-controlpanel-user | 2 +- src/freedombone-prepare-scripts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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