11.9Skre#	$NetBSD: dot.shrc,v 1.9 2022/07/21 07:53:28 kre Exp $
21.7Spavel
31.8Spavelif [ -f /etc/shrc ]; then
41.8Spavel	. /etc/shrc
51.8Spavelfi
61.3Ssimonb
71.9Skrehup()
81.9Skre{
91.9Skre	test -s "/var/run/$1.pid" || {
101.9Skre		printf >&2 'No pid file for %s\n' "$1"
111.9Skre		return 1
121.9Skre	}
131.9Skre	{ read pid; kill -HUP "$pid"; } <"/var/run/$1.pid"
141.9Skre}
151.1Smycroft
161.1Smycroftcase "$-" in *i*)
171.7Spavel	# interactive mode settings go here
181.1Smycroft	;;
191.1Smycroftesac
20