Quote (mikshaw @ Nov. 21 2006,15:31) |
These issues are not a result of ash being broken, but are because bash has added features that are not available in ash. The string manipulation above is an example of bash-specific script. |
Quote (^thehatsrule^ @ Nov. 21 2006,16:03) |
Ah yes.. the 'bash-isms' If you really don't care about about speed and efficiency I suppose you could try to use bash instead. Otherwise, I'd suggest for you to replace whatever scripting you're doing with replacement commands or use another implementation. If you decide to go this way, you could paste out your script (or snippets of) to show what you're trying to do with the code and we can try to help. |
Quote |
case "$CMDLINE" in *nfs=*) set -x; $INSMOD /modules/sunrpc.o $INSMOD /modules/lockd.o $INSMOD /modules/nfs.o lsmod NOIDERAID="yes"; NOCD="yes"; # NFS_SERVER="${CMDLINE##*nfs=}"; # NFS_SERVER="${NFS_SERVER%%[ ]*}"; echo NFS_Server="${NFS_SERVER}"; mount -t nfs 10.1.1.12:/tftpboot/DSL /KNOPPIX set +x; ;; esac |
Quote (^thehatsrule^ @ Nov. 21 2006,16:21) |
Another thing, can you log the boot processes? Anyways, did you try running a dummy script inside an ash terminal? |
Quote |
If you do a man on ash and go to 'Parameter Expansion' section, these formats are meant to be supported. |