1#!/bin/sh 2# 3# $NetBSD: moused,v 1.1 2001/10/29 23:25:01 augustss Exp $
| 1#!/bin/sh 2# 3# $NetBSD: moused,v 1.1 2001/10/29 23:25:01 augustss Exp $
|
4# $FreeBSD: head/etc/rc.d/moused 124616 2004-01-17 10:16:38Z mtm $
| 4# $FreeBSD: head/etc/rc.d/moused 124627 2004-01-17 11:25:16Z mtm $
|
5# 6 7# PROVIDE: moused 8# REQUIRE: DAEMON 9# KEYWORD: FreeBSD 10 11. /etc/rc.subr 12 13name=moused 14rcvar=`set_rcvar` 15command="/usr/sbin/${name}"
| 5# 6 7# PROVIDE: moused 8# REQUIRE: DAEMON 9# KEYWORD: FreeBSD 10 11. /etc/rc.subr 12 13name=moused 14rcvar=`set_rcvar` 15command="/usr/sbin/${name}"
|
| 16start_cmd="moused_start"
|
16
| 17
|
17case ${OSTYPE} in 18FreeBSD) 19 start_cmd="moused_start" 20 ;; 21esac 22
| |
23moused_start() 24{ 25 echo -n 'Starting moused:' 26 /usr/sbin/moused ${moused_flags} -p ${moused_port} -t ${moused_type} 27 28 _mousechar_arg= 29 case ${mousechar_start} in 30 [Nn][Oo] | '')
--- 15 unchanged lines hidden --- | 18moused_start() 19{ 20 echo -n 'Starting moused:' 21 /usr/sbin/moused ${moused_flags} -p ${moused_port} -t ${moused_type} 22 23 _mousechar_arg= 24 case ${mousechar_start} in 25 [Nn][Oo] | '')
--- 15 unchanged lines hidden --- |