Tinycore is here 12/1/2008! Welcome visitors.
tc@E310:~/rotdash$ tail -n 30 /etc/init.d/tc-config echo "mydata" > /etc/sysconfig/mydatafi if [ -n "$NORESTORE" ]; then echo "${GREEN}Skipping restore as requested from the command line.${NORMAL}"else TCEDIR=`readlink /etc/sysconfig/tcedir` /etc/init.d/tc-restore.sh "$TCEDIR"fi# After restore itemsif [ -n "$NODHCP" ]; then echo "${GREEN}Skipping DHCP broadcast/network detection as requested on boot commandline.${NORMAL}"else [ -z "$DHCP_RAN" ] && /etc/init.d/dhcp.sh & [ -z "$NORTC" ] || /etc/init.d/settime.sh &fi[ -n "$CRON" ] && /etc/init.d/services/crond start/sbin/loadcpufreq 2>/dev/null &/opt/bootsync.sh[ -n "$NOAUTOLOGIN" ] && echo "booting" > /etc/sysconfig/noautologinif [ -n "$PAUSE" ]; then echo -n "${BLUE}Boot time configuration completed. Press <Enter> to continue.${NORMAL}" read junkfitc@E310:~/rotdash$
Hi PDP-8I think you would need to modify /etc/init.d/tc-restore.sh for that which means making the change in initrd.
git clone https://github.com/tinycorelinux/Core-scripts.git && cd Core-scripts/ && grep -nie "protect" -r ./*#ORwget -OCore-scripts-master.zip https://github.com/tinycorelinux/Core-scripts/archive/master.zip && zipgrep -nie "protect" ./Core-scripts-master.zip
./etc/init.d/tc-restore.sh:26: protect) PROTECT=1 ;;./etc/init.d/tc-restore.sh:32:if [ -n "$PROTECT" ]; then./etc/init.d/tc-config:80: protect) PROTECT=1 ;;./etc/init.d/tc-config:588:if [ -n "$PROTECT" ]; then./usr/bin/filetool.sh:237: echo "Warning PROTECT boot code used and encrypted backup file not found!"# ||Core-scripts-master/etc/init.d/tc-config:80: protect) PROTECT=1 ;;Core-scripts-master/etc/init.d/tc-config:588:if [ -n "$PROTECT" ]; thenCore-scripts-master/etc/init.d/tc-restore.sh:26: protect) PROTECT=1 ;;Core-scripts-master/etc/init.d/tc-restore.sh:32:if [ -n "$PROTECT" ]; thenCore-scripts-master/usr/bin/filetool.sh:237: echo "Warning PROTECT boot code used and encrypted backup file not found!"