--- netcfg-2.6.8/src/globals 2012-02-27 15:20:27.254802390 +0100 +++ netcfg-2.6.8/src/globals 2012-02-27 15:20:54.750806477 +0100 @@ -49,13 +49,13 @@ function report_fail { # JP: this needs -n option echo -n "- $*" REPORT_TRYING= - echo "[fail]" + echo " [fail]" else echo "$*" fi elif [[ -n "$REPORT_TRYING" ]]; then REPORT_TRYING= - echo "[fail]" + echo " [fail]" fi } @@ -65,7 +65,7 @@ function report_success { echo -n "- $*" REPORT_TRYING= fi - echo "[done]" + echo " [done]" } ### For calling scripts only; don't use in library functions --- netcfg-2.6.8/src/hooks/arch 2011-08-14 16:27:10.000000000 +0200 +++ netcfg-2.6.8/src/hooks/arch 2012-02-27 15:25:18.254451554 +0100 @@ -1,5 +1,12 @@ -. /etc/rc.conf +# Check wheather or not we have a functions file from Arch. +# (This belongs to core/initscripts and is not present if systemd and +# systemd-sysvcompt is installed.) +if [ ! -f /etc/rc.d/functions ]; then + continue +fi + . /etc/rc.d/functions +[ -f /etc/rc.conf ] && . /etc/rc.conf ### Logging/Error reporting for Arch Linux