allow -r parameter to specify an "rc script"

Tool can now be batch-run without having to jump into another console
to configure the networking stack:
$ ./testtool -r ./config.sh send
re-add signal handler check