'install-photo-import-tool.sh' updaten
This commit is contained in:
@@ -31,10 +31,13 @@ cat > /etc/network/if-up.d/startphpweb <<- "EOF"
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
cd /root/server-app/scripts && php -S 0.0.0.0:8000 &
|
cd /root/server-app/scripts && php -S 0.0.0.0:8000 &
|
||||||
exit 0
|
exit 0
|
||||||
|
EOF
|
||||||
|
|
||||||
|
chmod +x /etc/network/if-up.d/startphpweb
|
||||||
|
chmod +x /etc/network/if-up.d/mountsmb
|
||||||
rm ~/master.tar.gz
|
rm ~/master.tar.gz
|
||||||
|
|
||||||
EOF
|
|
||||||
echo "---------------------------------------------"
|
echo "---------------------------------------------"
|
||||||
echo "All done! The system will reboot in 1 minute."
|
echo "All done! The system will reboot in 1 minute."
|
||||||
echo "---------------------------------------------"
|
echo "---------------------------------------------"
|
||||||
|
|||||||
Reference in New Issue
Block a user