Compare commits
No commits in common. "a55df5400f89a58f68e8f74dc6811f1a837ca8bc" and "6bd849c7a824f586580b1dc7a41109c09a87e5f8" have entirely different histories.
a55df5400f
...
6bd849c7a8
4 changed files with 1 additions and 7 deletions
2
TODO.md
2
TODO.md
|
@ -4,10 +4,8 @@
|
||||||
- Add network configuration (replace nmtui)
|
- Add network configuration (replace nmtui)
|
||||||
- Add hostname configuration (replace nmtui)
|
- Add hostname configuration (replace nmtui)
|
||||||
- Add Enclosure plugin to suggested
|
- Add Enclosure plugin to suggested
|
||||||
- Bring back cancel buttons
|
|
||||||
|
|
||||||
## Misc
|
## Misc
|
||||||
- Cleanup
|
|
||||||
- More security
|
- More security
|
||||||
- Wiki
|
- Wiki
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@ install -m 600 files/config.yaml ${ROOTFS_DIR}/home/octoprint/.octoprint/config.
|
||||||
|
|
||||||
install -m 644 files/nginx.conf ${ROOTFS_DIR}/etc/nginx/nginx.conf
|
install -m 644 files/nginx.conf ${ROOTFS_DIR}/etc/nginx/nginx.conf
|
||||||
echo -e "listen 443;" > ${ROOTFS_DIR}/etc/nginx/listen.conf
|
echo -e "listen 443;" > ${ROOTFS_DIR}/etc/nginx/listen.conf
|
||||||
touch ${ROOTFS_DIR}/etc/nginx/auth.conf
|
|
||||||
|
|
||||||
mkdir -p ${ROOTFS_DIR}/usr/local/bin
|
mkdir -p ${ROOTFS_DIR}/usr/local/bin
|
||||||
install -m 755 files/restart-octoprint ${ROOTFS_DIR}/usr/local/bin/restart-octoprint
|
install -m 755 files/restart-octoprint ${ROOTFS_DIR}/usr/local/bin/restart-octoprint
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Deletes cookies
|
|
||||||
rm ~/.surf/cookies.txt
|
|
||||||
|
|
||||||
# Grabs the port (and IP) out of the nginx config
|
# Grabs the port (and IP) out of the nginx config
|
||||||
LISTEN=$(awk '/listen/{gsub(";",""); print $2}' /etc/nginx/listen.conf)
|
LISTEN=$(awk '/listen/{gsub(";",""); print $2}' /etc/nginx/listen.conf)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue