Better node detection for init.d