From: HAT Date: Mon, 29 Aug 2011 15:19:54 +0000 (+0900) Subject: initscripts: describe netatalk version X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=0a4aa3e38163c846905221edac32651867a68474 initscripts: describe netatalk version --- diff --git a/distrib/initscripts/Makefile.am b/distrib/initscripts/Makefile.am index 85eb8f44..5d73af0b 100644 --- a/distrib/initscripts/Makefile.am +++ b/distrib/initscripts/Makefile.am @@ -13,6 +13,7 @@ pkgconfdir = @PKGCONFDIR@ -e s@:SBINDIR:@${sbindir}@ \ -e s@:ETCDIR:@${pkgconfdir}@ \ -e s@:PKGLIBEXECDIR:@${pkglibexecdir}@ \ + -e s@:NETATALK_VERSION:@${NETATALK_VERSION}@ \ <$< >$@ GENERATED_FILES = \ diff --git a/distrib/initscripts/rc.afpd.netbsd.tmpl b/distrib/initscripts/rc.afpd.netbsd.tmpl index 36da2aff..6242d88c 100644 --- a/distrib/initscripts/rc.afpd.netbsd.tmpl +++ b/distrib/initscripts/rc.afpd.netbsd.tmpl @@ -4,7 +4,7 @@ # REQUIRE: cnid_metad # KEYWORD: shutdown # -# Apple Filing Protocol daemon. +# Apple Filing Protocol daemon. (netatalk :NETATALK_VERSION:) # If you use AppleTalk, Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. diff --git a/distrib/initscripts/rc.atalk.bsd.tmpl b/distrib/initscripts/rc.atalk.bsd.tmpl index 6a0f489a..b3249cc6 100755 --- a/distrib/initscripts/rc.atalk.bsd.tmpl +++ b/distrib/initscripts/rc.atalk.bsd.tmpl @@ -1,6 +1,6 @@ #!/bin/sh # -# Netatalk daemons. +# Netatalk :NETATALK_VERSION: daemons. # If you use AppleTalk, Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. diff --git a/distrib/initscripts/rc.atalk.debian.tmpl b/distrib/initscripts/rc.atalk.debian.tmpl index a9fafd13..ac5d8da0 100644 --- a/distrib/initscripts/rc.atalk.debian.tmpl +++ b/distrib/initscripts/rc.atalk.debian.tmpl @@ -7,7 +7,7 @@ # Default-Stop: 1 ### END INIT INFO # -# netatalk Netatalk 2.x initscript +# netatalk Netatalk :NETATALK_VERSION: initscript # Author: Thomas Kaiser set -e diff --git a/distrib/initscripts/rc.atalk.gentoo.tmpl b/distrib/initscripts/rc.atalk.gentoo.tmpl index 5ed475c5..5f0c65f1 100644 --- a/distrib/initscripts/rc.atalk.gentoo.tmpl +++ b/distrib/initscripts/rc.atalk.gentoo.tmpl @@ -1,6 +1,6 @@ #!/sbin/runscript -# Netatalk daemons. +# Netatalk :NETATALK_VERSION: daemons. # If you use AppleTalk, Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. diff --git a/distrib/initscripts/rc.atalk.redhat-systemd.tmpl b/distrib/initscripts/rc.atalk.redhat-systemd.tmpl index 7468d3a7..58f197ae 100644 --- a/distrib/initscripts/rc.atalk.redhat-systemd.tmpl +++ b/distrib/initscripts/rc.atalk.redhat-systemd.tmpl @@ -1,6 +1,6 @@ #!/bin/sh -# Netatalk startup script for systemd. +# Netatalk :NETATALK_VERSION: startup script for systemd. ATALK_BIN=:BINDIR: ATALK_CONF_DIR=:ETCDIR: diff --git a/distrib/initscripts/rc.atalk.redhat-sysv.tmpl b/distrib/initscripts/rc.atalk.redhat-sysv.tmpl index 79b613bd..f066232b 100644 --- a/distrib/initscripts/rc.atalk.redhat-sysv.tmpl +++ b/distrib/initscripts/rc.atalk.redhat-sysv.tmpl @@ -4,7 +4,7 @@ # and provides printer, file sharing, and routing # services via legacy AppleTalk networking protocol. # -# Netatalk daemons. +# Netatalk :NETATALK_VERSION: daemons. # If you use AppleTalk, Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. diff --git a/distrib/initscripts/rc.atalk.suse.tmpl b/distrib/initscripts/rc.atalk.suse.tmpl index f392d51c..68328e6d 100755 --- a/distrib/initscripts/rc.atalk.suse.tmpl +++ b/distrib/initscripts/rc.atalk.suse.tmpl @@ -16,6 +16,8 @@ # Description: AFP over TCP and legacy AppleTalk daemons ### END INIT INFO +# Netatalk :NETATALK_VERSION: + ATALK_NAME=`hostname|sed 's/\..*$//'` ATALK_UNIX_CHARSET='LOCALE' ATALK_MAC_CHARSET='MAC_ROMAN' diff --git a/distrib/initscripts/rc.atalk.sysv.tmpl b/distrib/initscripts/rc.atalk.sysv.tmpl index 85ec0748..ddad742d 100755 --- a/distrib/initscripts/rc.atalk.sysv.tmpl +++ b/distrib/initscripts/rc.atalk.sysv.tmpl @@ -1,8 +1,7 @@ #! /bin/sh # -# Start/stop the Netatalk daemons. +# Start/stop the Netatalk :NETATALK_VERSION: daemons. # -# Netatalk daemons. # If you use AppleTalk, Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. diff --git a/distrib/initscripts/rc.atalk.tru64.tmpl b/distrib/initscripts/rc.atalk.tru64.tmpl index 3a7f9703..0c350af4 100755 --- a/distrib/initscripts/rc.atalk.tru64.tmpl +++ b/distrib/initscripts/rc.atalk.tru64.tmpl @@ -1,8 +1,7 @@ #! /bin/sh # -# Start/stop the Netatalk daemons. +# Start/stop the Netatalk :NETATALK_VERSION: daemons. # -# Netatalk daemons. # If you use AppleTalk, Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. diff --git a/distrib/initscripts/rc.atalkd.netbsd.tmpl b/distrib/initscripts/rc.atalkd.netbsd.tmpl index a5670487..d531204b 100644 --- a/distrib/initscripts/rc.atalkd.netbsd.tmpl +++ b/distrib/initscripts/rc.atalkd.netbsd.tmpl @@ -3,7 +3,7 @@ # PROVIDE: atalkd # REQUIRE: DAEMON # -# AppleTalk daemon. +# AppleTalk daemon. (netatalk :NETATALK_VERSION:) # If you use AppleTalk, Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. diff --git a/distrib/initscripts/rc.cnid_metad.netbsd.tmpl b/distrib/initscripts/rc.cnid_metad.netbsd.tmpl index b0963cfe..caeba08e 100644 --- a/distrib/initscripts/rc.cnid_metad.netbsd.tmpl +++ b/distrib/initscripts/rc.cnid_metad.netbsd.tmpl @@ -2,7 +2,7 @@ # # PROVIDE: cnid_metad # -# Start cnid_dbd daemons on request. +# Start cnid_dbd daemons on request. (netatalk :NETATALK_VERSION:) # The cnid_dbd is an implementation for accessing to CNID databases # through a dedicated daemon process. # diff --git a/distrib/initscripts/rc.papd.netbsd.tmpl b/distrib/initscripts/rc.papd.netbsd.tmpl index 4b2f3d6a..f32cb7cb 100644 --- a/distrib/initscripts/rc.papd.netbsd.tmpl +++ b/distrib/initscripts/rc.papd.netbsd.tmpl @@ -3,7 +3,7 @@ # PROVIDE: papd # REQUIRE: atalkd # -# AppleTalk print server daemon. +# AppleTalk print server daemon. (netatalk :NETATALK_VERSION:) # Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. diff --git a/distrib/initscripts/rc.timelord.netbsd.tmpl b/distrib/initscripts/rc.timelord.netbsd.tmpl index 2c4f2bbf..aae4b7a3 100644 --- a/distrib/initscripts/rc.timelord.netbsd.tmpl +++ b/distrib/initscripts/rc.timelord.netbsd.tmpl @@ -3,7 +3,7 @@ # PROVIDE: timelord # REQUIRE: atalkd # -# AppleTalk time server daemon. +# AppleTalk time server daemon. (netatalk :NETATALK_VERSION:) # Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. diff --git a/distrib/initscripts/service.atalk.redhat-systemd.tmpl b/distrib/initscripts/service.atalk.redhat-systemd.tmpl index 034e5fb2..cd7a3dfc 100644 --- a/distrib/initscripts/service.atalk.redhat-systemd.tmpl +++ b/distrib/initscripts/service.atalk.redhat-systemd.tmpl @@ -1,4 +1,4 @@ -# This file is part of netatalk. +# This file is part of netatalk :NETATALK_VERSION:. [Unit] Description=File and Printer sharing for Macintosh clients