Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: nick65go on April 13, 2020, 02:56:34 PM

Title: tc-config, case $i in, base) ONLYBASE=1 ;; is redundant with same in tce-setup
Post by: nick65go on April 13, 2020, 02:56:34 PM
in tc 11.1, in file tc-config, I think the case-search for item "base" in /proc/cmdline in not need.
Code: [Select]
for i in `cat /proc/cmdline`; do*)
   case $i in
    base) ONLYBASE=1 ;;
the real search is anyway done in tce-setup. so maybe you can delete this specific item from the branch: base) ONLYBASE=1 ;; Basicaly it is has no bad influence in code speed, i undertand it, but is useless in tc-config.IMHO any redundant code is not good impresion for tinycore.
Title: Re: tc-config, case $i in, base) ONLYBASE=1 ;; is redundant with same in tce-setup
Post by: curaga on April 14, 2020, 02:36:22 AM
Removed, thanks for reporting.