blob: a9621df55f58d598b300a41c4418a51d24cea20b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: fakeidentd
# REQUIRE: LOGIN
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf[.local] to enable fakeident.
#
# fakeidentd_enable (bool): Set to 'YES' to enable
# Default: NO
. /etc/rc.subr
# This can be changed as desired.
# The username does not need to exist anywhere in your system.
name=fakeidentd
desc="Standalone 'fake' ident daemon"
rcvar=fakeidentd_enable
load_rc_config $name
: ${fakeidentd_enable:="NO"}
command="%%PREFIX%%/sbin/identd"
pidfile=/var/run/identd.pid
command_args="nobody && echo -n ' fakeidentd'"
run_rc_command "$1"
|