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