Thanks for pointing that error out (and all the other tests)
I had trouble with that line before. Please correct me if I am wrong but I didn't believe a "glob", [0-9], if it's in quotes, works properly like that in a conditional (and clearly doesn't behave without either, "too many arguments" ) EDIT These errors don't show in all setups the script may run in
So I made $ROOTPARTDEV just the device, (e.g. /dev/sdb) and used $ROOTPART (e.g. /dev/sdb1) everywhere else for the actual partition, now the "glob" is removed
Actually, I dont think a "real" usb install shows up as a removable, it didn't on an install here last time I looked (can't test that today) so the line in question might be redundant anyway. It's only to stop removables getting fstab entries.
Updated version (keeping older ones there for now) :
http://exe-linux.fastfishwebsolutions.c ... s_0.4+3.sh