summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-04-26 17:06:23 -0400
committerJune McEnroe <june@causal.agency>2021-04-26 17:06:23 -0400
commit505b677069e01e808ba75d313b6922e2cfb16aed (patch)
tree0a2600aacf587def13073f83152c9eced64b1ce2 /etc
parentMatch space between #! and /bin/sh (diff)
downloadsrc-505b677069e01e808ba75d313b6922e2cfb16aed.tar.gz
src-505b677069e01e808ba75d313b6922e2cfb16aed.zip
Remove samba_mdns rc script
Newer samba package forces me to use avahi :(
Diffstat (limited to 'etc')
-rw-r--r--etc/samba_mdns26
1 files changed, 0 insertions, 26 deletions
diff --git a/etc/samba_mdns b/etc/samba_mdns
deleted file mode 100644
index 66b13af7..00000000
--- a/etc/samba_mdns
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/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"
fb52aadc5c3c65701b998a5adcca8cb8b4a8c2&follow=1'>Publish "film review"June McEnroe 2024-10-12Add photos from October 6June McEnroe 2024-10-12Add photos from October 5June McEnroe 2024-10-09Add photos from October 1June McEnroe 2024-10-07Add photos from September 29June McEnroe 2024-10-07Add photos from September 28June McEnroe 2024-10-07Add photos from September 22June McEnroe 2024-09-25Add photos from September 15June McEnroe 2024-09-24Add photos from September 14June McEnroe 2024-09-24Add photos from September 12June McEnroe 2024-09-24Add photos from September 7June McEnroe 2024-09-24Allow not having descriptionsJune McEnroe 2024-09-23Automatically select the last used lens for a bodyJune McEnroe 2024-09-19Add photos from September 5June McEnroe 2024-09-15Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe