1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#!/bin/sh # $FreeBSD$ # PROVIDE: iiimd # REQUIRE: DAEMON # KEYWORD: shutdown prefix=%%PREFIX%% iiimd_enable=${iiimd_enable:-"NO"} . %%RC_SUBR%% name="iiimd" rcvar=`set_rcvar` command="${prefix}/bin/iiimd" load_rc_config $name command_args="> /dev/null 2>&1 &" run_rc_command "$1"