Code: Select all
find-file.str.es
fixlayers.tr.es
fscheck.str.es
init.str.es
rollback.str.es
Moderator: BarryK
Code: Select all
find-file.str.es
fixlayers.tr.es
fscheck.str.es
init.str.es
rollback.str.es
Thanks very much for doing that!
I will upload the files to github.com very soon.
Hi, I have uploaded the files:
https://github.com/bkauler/woofq/tree/m ... d-tree/nls
Your translation init.str.es was incomplete, so I used google translate.
Could you please provide me some context on this message:
Code: Select all
Lockdown disabled, insufficient RAM
xx_T3n0ch_X wrote: Wed Jan 25, 2023 5:14 am@BarryK
Could you please provide me some context on this message:
Code: Select all
Lockdown disabled, insufficient RAM
EasyOS has a boot option to run totally in RAM, without using the drives at all.
There are two modes, one allows mounting partitions if you want to, the other disables all partitions.
The latter is extremely secure, as once booted up, the drives are completely disabled.
The lockdown mode requires plenty of RAM, as easy.sfs and any other SFS such as the devx sfs have to be copied into RAM at bootup, as well as the session, /mnt/wkg/.session (equivalent of the save-file or save-folder in Puppy).
After all of that, there still has to be sufficient RAM left over for running apps.
Here is the code from the 'init' script, the string is S110:
Code: Select all
###very low ram###
#20220802 top-level-zram doesn't work properly if not enough ram
FREEK=`grep '^MemFree:' /proc/meminfo | tr -s ' ' | cut -f 2 -d ' '`
if [ $FREEK -lt 1200000 ];then #1.2GB
EOS_TOP_LEVEL_ZRAM=0
fi
#also disable lockdown...
if [ "$LOCKDOWN" ];then
if [ $FREEK -lt 3700000 ];then #3.7GB
echo -e "\\033[1;31m${S110}\\033[0;39m" #red
LOCKDOWN=''
xWKG_DEV=''
CAPS_DROP=''
#keep this, in case usb-stick boots on another pc...
#rm -f /mnt/${WKG_DEV}/${WKG_DIR}.lockdown.flg 2>/dev/null
fi
fi
The Lockdown concept is introduced here:
"Ultra-secure web browsing"
https://easyos.org/user/ultra-secure-web-browsing.html
It looks like will change back to strings in single-quotes, see posts here:
https://forum.puppylinux.com/viewtopic. ... 487#p79487
I'll think about it tonight/tomorrow.
@BarryK
Thanks for the replies,
Code: Select all
extra squashfs file does not exist, removed from load-list
Is 'extra squashfs' the name of the file?
Is 'load-list' the name of a file?
xx_T3n0ch_X wrote: Wed Jan 25, 2023 10:12 am@BarryK
Thanks for the replies,Code: Select all
extra squashfs file does not exist, removed from load-list
Is 'extra squashfs' the name of the file?
Is 'load-list' the name of a file?
If the user has chosen certain SFS files to be loaded at bootup, if one of them does not exist, it will be removed from the list, hence that message.
My apologies for making changes, I think this is it, finally:
https://bkhome.org/news/202301/escaping ... nitrd.html
Strings have single-quotes at each end. There is no longer a need to escape the single-quote character, nor the double-quote character.
Latest files:
init.str.es attached
Thanks very much, your latest init.str.es committed to github: