From 7a67689cfdbc2f7b487dc3e5e020dee33334b583 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 28 Aug 2019 23:59:48 -0400 Subject: Add samba_mdns rc script --- etc/samba_mdns | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 etc/samba_mdns (limited to 'etc') diff --git a/etc/samba_mdns b/etc/samba_mdns new file mode 100644 index 00000000..66b13af7 --- /dev/null +++ b/etc/samba_mdns @@ -0,0 +1,26 @@ +#!/bin/sh + +# PROVIDE: samba_mdns +# REQUIRE: samba_server mdnsd +# KEYWORD: shutdown + +. /etc/rc.subr + +name="samba_mdns" +rcvar="samba_mdns_enable" + +load_rc_config $name + +: ${samba_mdns_enable:="NO"} +: ${samba_mdns_name:="${hostname}"} +: ${samba_mdns_port:="445"} +: ${samba_mdns_text:=""} + +procname="/usr/local/sbin/mdnsctl" +command="/usr/sbin/daemon" +pidfile="/var/run/${name}.pid" + +publish_args="${samba_mdns_name} smb tcp ${samba_mdns_port} '${samba_mdns_text}'" +command_args="-T mdnsctl -p ${pidfile} -- ${procname} publish ${publish_args}" + +run_rc_command "$1" -- cgit 1.4.1 tr> summary refs log tree commit diff
path: root/include/compat/netinet/in.h (unfollow)
Commit message (Expand)Author
2021-03-05Bump version to 3.3.1p1 3.3.1p1June McEnroe
2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe
2020-12-15Import LibreSSL 3.3.1June McEnroe
2020-11-24Import LibreSSL 3.3.0June McEnroe
2020-10-22Import LibreSSL 3.2.2June McEnroe
2020-09-29Import LibreSSL 3.2.1June McEnroe
2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe
2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe
2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe