]> arthur.barton.de Git - netatalk.git/commitdiff
Added README for OpenBSD by Karen A Swanberg <swanberg@tc.umn.edu>.
authorsrittau <srittau>
Tue, 16 Oct 2001 19:24:48 +0000 (19:24 +0000)
committersrittau <srittau>
Tue, 16 Oct 2001 19:24:48 +0000 (19:24 +0000)
doc/README.platforms

index 6b29299180195317cf95378499b91d3e58c8e2e4..8e9a50cde0ebc58de305db6925f05eba1b05faf7 100644 (file)
@@ -1,12 +1,13 @@
 This is a README for the major platforms where Netatalk is in use. 
 
 Platforms Covered:
-A. Linux
-B. Tru64
-C. Solaris
-D. *BSD
-E. SunOS
-F. Generic
+A.   Linux
+B.   Tru64
+C.   Solaris
+D.I  OpenBSD
+D.II Other BSDs
+E.   SunOS
+F.   Generic
 
 ----------------------------------------------------------------
 
@@ -192,12 +193,67 @@ C. SOLARIS
 
 ----------------------------------------------------------------
 
-D. *BSD
+D.I OpenBSD
+
+1.  KERNEL SUPPORT. Note that kernel support for netatalk appears in
+    OpenBSD 2.2,  or openbsd-current dated after Aug 1, 1997. But the
+    'comment out' character must be removed and the kernel must be
+    recompiled.
+
+    The kernel file that needs to be edited is usually located in:
+    /usr/src/sys/conf
+
+    Remove the first comment (#) from this line:
+    # option          NETATALK        # AppleTalk
+
+    Generally this is the GENERIC kernal. If you decide to rename 
+    the kernel, don't forget to go to 
+    /usr/src/sys/arch/<your arch>/conf/NEWNAME, and change the 
+    ../../../conf/GENERIC line to your NEWNAME. See 
+    http://www.openbsd.org/faq/faq5.html for more information on 
+    compiling a new kernel.
+
+2.  STARTING NETATALK. The rc scripts that come with openbsd to
+    start netatalk are specific to an older version of netatalk.
+    So, if you use the initscript provided in a current netatalk's
+    distrib/initscripts directory, you must either add the lines
+    from rc.atalk.bsd by hand into /etc/rc.local (or wherever you
+    want to launch the daemons from) or modify your /etc/rc.local
+    file to read: 
+
+    (currently says)
+
+    # Netatalk stuff
+    if [ -f /etc/netatalk/rc.atalk ]; then
+            . /etc/netatlk/rc.atalk
+    fi
+
+    (change to) 
+
+    # Netatalk stuff
+    if [ -f /etc/rc.atalk ]; then
+            . /etc/rc.atalk
+    fi
+
+    and copy netatalk/distrib/initscripts/rc.atalk.bsd to /etc/rc.atalk.
+
+
+    Don't forget to change the 
+
+    if [ -x :SBINDIR:/atalkd ]; then
+
+    lines to
+
+    if [ -x /usr/local/sbin/atalkd ]; then
+
+    or to whichever locations you configured in netatalk.
+
+D.II Other BSDs
 
-Note that kernel support for netatalk appears in FreeBSD 2.2-current
-dated after 12 September 1996.
+1.  KERNEL SUPPORT. Note that kernel support for netatalk appears in
+    FreeBSD 2.2-current dated after 12 September 1996.
 
-1.  KERNEL.  Add the line
+    Add the line
 
         options NETATALK