#!/bin/sh

# Copyright (c) 2018-2022, diyIT.org
# All rights reserved.
#
# BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
# https://diyit.org/license/
#
#

# the two lines below are not just comments but required by rcorder; service -e
# PROVIDE: cam_tag
# REQUIRE: DAEMON

. /etc/rc.subr

: ${cam_tag_enable="NO"}

name=cam_tag
rcvar=${name}_enable

COMMAND="/root/FreeBSD/scripts/cam_tag.sh"

start_cmd="${name}_start"
restart_cmd="${name}_restart"

cam_tag_start()
{
    $COMMAND
}

cam_tag_restart()
{
    $COMMAND
}

load_rc_config ${name}
run_rc_command "$1"
