Commit 9a117cd0 authored by Franco Fichtner's avatar Franco Fichtner

rc: syshook print improvements

parent e6f5a191
#!/bin/sh
# Copyright (c) 2015 Franco Fichtner <franco@opnsense.org>
# Copyright (c) 2015-2016 Franco Fichtner <franco@opnsense.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
......@@ -55,10 +55,10 @@ for SYSHOOK in ${SYSHOOKS}; do
SYSHOOK=${SYSHOOK##"${SYSDIR}/"}
SYSHOOK=${SYSHOOK%%".${SYSLEVEL}"}
echo "rc.syshook: launching ${SYSHOOK}.${SYSLEVEL}"
echo "rc.syshook(${SYSLEVEL}): running ${SYSHOOK#??-}"
if ! ${SYSDIR}/${SYSHOOK}.${SYSLEVEL}; then
echo "rc.syshook: error in ${SYSHOOK}.${SYSLEVEL}"
echo "rc.syshook(${SYSLEVEL}): error in ${SYSHOOK#??-}"
fi
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment