also convert script to OpenWrt-style and use logger instead of echo out to STDERR. Signed-off-by: Bastian Bittorf <bb@npl.de>