more portable check_enet.sh - use printf instead of echo -n