summaryrefslogtreecommitdiff
path: root/net/netatalk/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/netatalk/files/patch-ab')
-rw-r--r--net/netatalk/files/patch-ab25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/netatalk/files/patch-ab b/net/netatalk/files/patch-ab
new file mode 100644
index 000000000000..433387c6cb5e
--- /dev/null
+++ b/net/netatalk/files/patch-ab
@@ -0,0 +1,25 @@
+diff -crP ../netatalk-1.4b2/rc.atalk.freebsd ./rc.atalk.freebsd
+*** ../netatalk-1.4b2/rc.atalk.freebsd Thu Jan 1 01:00:00 1970
+--- ./rc.atalk.freebsd Thu Jul 24 02:14:39 1997
+***************
+*** 0 ****
+--- 1,19 ----
++ #
++ # AppleTalk daemons. Make sure not to start atalkd in the background:
++ # its data structures must have time to stablize before running the
++ # other processes.
++ #
++
++ case $1 in
++ start) echo -n ' netatalk'
++ :SBINDIR:/atalkd
++ :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:Workstation
++ :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:netatalk
++ :SBINDIR:/papd
++ :SBINDIR:/afpd
++ ;;
++ stop) killall afpd
++ killall papd
++ killall atalkd
++ ;;
++ esac