Sync usage with man page.
[netbsd-mini2440.git] / etc / rc.d / xdm.in
blob3ad01fdcce25df456fd1cd7d5b7ff9133ee28e78
1 #!/bin/sh
3 # $NetBSD$
6 # PROVIDE: xdm
7 # REQUIRE: DAEMON LOGIN wscons
8 # KEYWORD: shutdown
10 $_rc_subr_loaded . /etc/rc.subr
12 name="xdm"
13 rcvar=$name
14 command="@X11ROOTDIR@/bin/${name}"
15 pidfile="/var/run/${name}.pid"
16 required_files="/etc/X11/xdm/xdm-config"
17 extra_commands="reload"
19 load_rc_config $name
20 run_rc_command "$1"