Make control scripts executable

This commit is contained in:
Bob Mottram 2017-06-23 10:44:25 +01:00
parent 12b37ac9dd
commit 19897c5eb0
2 changed files with 4 additions and 1 deletions

View File

@ -754,7 +754,7 @@ function menu_admin {
clear clear
exit 0 exit 0
fi fi
sudo ${PROJECT_NAME}-controlpanel sudo /usr/local/bin/control
} }
function sign_keys { function sign_keys {

View File

@ -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/control
sed -i '/# Start including files/,/# End including files/d' /usr/local/bin/controluser 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 rm /tmp/includescripts
exit 0 exit 0