Added ugly fix to make init script work
Redirect output to stderr
If logdir not writable, use homedir
Updated log
Fixed dmidecode path
Fixed cmd paths