mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
rc: syshook print improvements
This commit is contained in:
parent
e6f5a19190
commit
9a117cd0ff
@ -1,6 +1,6 @@
|
||||
#!/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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user