diff --git a/ipk-source/sdxpinn-quecmanager-beta/build-ipk b/ipk-source/sdxpinn-quecmanager-beta/build-ipk index eb83cf6..5158d9b 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/build-ipk +++ b/ipk-source/sdxpinn-quecmanager-beta/build-ipk @@ -50,6 +50,10 @@ echo "Setting ownership for all package files..." chown -R root:root "${build_path}/CONTROL"/* chown -R root:root "${build_path}/root"/* +# Set +x permissions for CGI scripts that match *.sh in the cgi-bin directory +# (this was tested and works on OpenWRT/SDXPINN platform) +chmod -R 755 "${build_path}/root/www/cgi-bin/**/*.sh" + # Create control.tar.gz from the CONTROL directory echo "Creating control.tar.gz..." tar -czvf control.tar.gz -C "${build_path}/CONTROL" .