summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2008-10-27 01:05:09 +0000
committerthompsa <thompsa@FreeBSD.org>2008-10-27 01:05:09 +0000
commitecabe5a4df51bdc26cf3744861fa7a9aea510493 (patch)
tree56bc25e80560e5149af35b29cc200fd8a072c7b7 /etc
parent460ad2e4b23d030a6be346fdfdec28c89d4d07b9 (diff)
downloadFreeBSD-src-ecabe5a4df51bdc26cf3744861fa7a9aea510493.zip
FreeBSD-src-ecabe5a4df51bdc26cf3744861fa7a9aea510493.tar.gz
Show which rc script is running since the default ^T just shows 'sh' as the
process.
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.subr1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 724bc6a..19f9eda 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -913,6 +913,7 @@ run_rc_script()
else
( trap "echo Script $_file interrupted; kill -QUIT $$" 3
trap "echo Script $_file interrupted; exit 1" 2
+ trap "echo Script $_file running" 29
set $_arg; . $_file )
fi
fi
OpenPOWER on IntegriCloud