From: <HHu...@t-...> - 2002-07-30 12:06:46
|
Hallo, trinux-talk, "Trinux" uses many scripts and parameter files in "/tux/config/..." and other places. That's a fine idea. But in "linuxrc" and some other master scripts in "/sbin" these files are tested and (if script) executed not very comfortable. Their existence is tested via "[ -f ... ]", not via "[ -s ... ]". And therefor all not used files have to be deleted or moved to "disabled". Testing "-s" would allow to set not wanted files to size 0. If the files are used as script files, first they become "chmod"ed, and most times then they are executed via ". <file>". But the period works also with scripts which are not executable. (This is no bug, only useless use of "chmod"). Viele Gruesse! Helmut |