diff --git a/kindle/paste-to-install.sh b/kindle/paste-to-install.sh new file mode 100644 index 0000000..2f6d1b7 --- /dev/null +++ b/kindle/paste-to-install.sh @@ -0,0 +1,66 @@ +BASE="http://SERVER_IP:3030" + +# Make the Kindle file system writable +mntroot rw + +# Create the mnt/base-us scripts according to the files in the kindle directory +cat > /mnt/base-us/RUNME.sh < /mnt/base-us/update.sh < /etc/crontab/root + +# Execute the init script and trigger an the first render +sh /mnt/base-us/RUNME.sh