# Use initscripts output formatting. # This hook must be loaded after 'fancy'. # At some point, this can be removed. Configuration through rc.conf is # than still possible for initscripts users as a side effect. if [[ -f /etc/rc.conf ]]; then . /etc/rc.conf if ! checkyesno $WARNED && [[ ${NETWORKS+x} = x || ${WIRED_INTERFACE+x} = x || ${WIRELESS_INTERFACE+x} = x || ${AUTO_PROFILES+x} = x ]]; then report_err "Using /etc/rc.conf for netcfg settings is deprecated. Use /etc/conf.d/netcfg instead." export WARNED=yes fi fi [[ ${FANCY_NORMAL+x} = x && -f /etc/rc.d/functions ]] || return #. /etc/rc.conf . /etc/rc.d/functions function report_try { stat_busy "$*" REPORT_TRYING=1 } function report_append { stat_append "- $*" } function report_failed { stat_fail } function report_done { stat_done } FANCY_NORMAL=$C_CLEAR FANCY_HIGHLIGHT=$C_H1 FANCY_FAILED=$C_FAIL FANCY_DONE=$C_DONE FANCY_OTHER=$C_OTHER PREFIX_ATTENTION=$PREFIX_HL # vim: ft=sh ts=4 et sw=4: