Update powerdown for v6b7

Added sync and time delay to be sure log write to flash drive is
completed, added additional rc. scripts to be ignored when shutting
down, and added log configuration.