check_for_root_user
init_log_file
+if [ ${#} -eq 1 -a x"${1}" = x"log" ]; then
+ init_installed_packages_log
+fi
+
ipkg ${HELP2MAN}
ipkg ${GSL}
ipkg -m noac ${I2C_TOOLS}
ipkg -m noac ${HDPARM}
-rscr mult "Performing post-install" post-install
-
-write_completed_stage
-display_stage_build_stats
+if [ -z "${LIST_INSTALLED_PACKAGES}" ]; then
+ rscr mult "Performing post-install" post-install
+ write_completed_stage
+ display_stage_build_stats
+fi
exit $?