diff --git a/install-photo-import-tool.sh b/install-photo-import-tool.sh index 27f4b2a..7325a74 100644 --- a/install-photo-import-tool.sh +++ b/install-photo-import-tool.sh @@ -31,10 +31,13 @@ cat > /etc/network/if-up.d/startphpweb <<- "EOF" #! /bin/sh cd /root/server-app/scripts && php -S 0.0.0.0:8000 & exit 0 +EOF +chmod +x /etc/network/if-up.d/startphpweb +chmod +x /etc/network/if-up.d/mountsmb rm ~/master.tar.gz -EOF + echo "---------------------------------------------" echo "All done! The system will reboot in 1 minute." echo "---------------------------------------------"