xref: /netbsd-src/etc/root/dot.shrc (revision 782713e6c126f1866c6d9cfdee4ceb49483b5828)
1#	$NetBSD: dot.shrc,v 1.9 2022/07/21 07:53:28 kre Exp $
2
3if [ -f /etc/shrc ]; then
4	. /etc/shrc
5fi
6
7hup()
8{
9	test -s "/var/run/$1.pid" || {
10		printf >&2 'No pid file for %s\n' "$1"
11		return 1
12	}
13	{ read pid; kill -HUP "$pid"; } <"/var/run/$1.pid"
14}
15
16case "$-" in *i*)
17	# interactive mode settings go here
18	;;
19esac
20