Make control scripts executable
This commit is contained in:
parent
12b37ac9dd
commit
19897c5eb0
|
@ -754,7 +754,7 @@ function menu_admin {
|
|||
clear
|
||||
exit 0
|
||||
fi
|
||||
sudo ${PROJECT_NAME}-controlpanel
|
||||
sudo /usr/local/bin/control
|
||||
}
|
||||
|
||||
function sign_keys {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue