Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!@RCD_SCRIPTS_SHELL@
- #
- # $NetBSD: gdm.sh,v 1.6 2011/10/07 22:37:06 shattered Exp $
- #
- # PROVIDE: gdm
- # REQUIRE: DAEMON LOGIN wscons
- # KEYWORD: shutdown
- if [ -f /etc/rc.subr ]; then
- . /etc/rc.subr
- fi
- name="gdm"
- rcvar=${name}
- command="@PREFIX@/sbin/${name}"
- pidfile="/var/run/${name}.pid"
- procname="@PREFIX@/sbin/gdm-binary"
- required_files="@PKG_SYSCONFDIR@/custom.conf"
- extra_commands="reload"
- if [ -f /etc/rc.subr ]; then
- load_rc_config ${name}
- run_rc_command "$1"
- else
- echo -n " ${name}"
- ${command} ${gdm_flags} ${command_args}
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement