~ubuntu-branches/ubuntu/precise/netatalk/precise

« back to all changes in this revision

Viewing changes to distrib/initscripts/rc.atalk.bsd.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2010-05-01 10:11:00 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100501101100-vgb5m8ztsp5uvfzl
Tags: 2.1-1
* New upstream release.
* Update patches:
  + Drop patches 001, 002, 003, 101, 102, 103, 104, 105, 106, 113,
    206, 210, 214, and disabled patches 291, 292, 293: Merged upstream
    or no longer applies.
  + Refresh remaining (enabled) patches 109, 200, 205, 212, 213, with
    shortening quilt options --no-timestamps --no-index -pab.
  + Disable patch 109: XFS quota support apparently no longer broken.
* Use only official CDBS (drop local snippets): All improvements now
  adopted upstream.
* Use source format 3.0 (quilt), and stop including patchsys-quilt.mk.
* Refer to FSF website (not postal address) in rules file.
* Bump copyright years in header of in rules file.
* Drop locally implemented DEB_MAINTAINER_MODE in rules file: Now
  adopted upstream.
* Rewrite copyright file using draft DEP5 rev. 135. Adds new owners
  and licenses, and some files lacking proper licensing are revealed.
* Install docs README.AppleTalk (not README.platforms, its old name)
  and README.ids.
* Simplify rules file to no longer regenerate autotools: no patches
  affect upstream-shipped automade files.
* Bump standards compliance to standards-version 3.8.4.
* Add workaround for upstream braindead double expanded DESTDIR.
* Tighten build-dependency on cdbs.
* Stop build-depending on libtool, automake1.11 or autoconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
3
 
# AppleTalk daemons. Make sure not to start atalkd in the background:
 
3
# Netatalk daemons.
 
4
# If you use AppleTalk, Make sure not to start atalkd in the background:
4
5
# its data structures must have time to stablize before running the
5
6
# other processes.
6
7
#
14
15
##      /usr/etc/modload -sym :ETCDIR:/netatalk.o;
15
16
##fi
16
17
 
17
 
echo -n 'starting appletalk daemons:'
 
18
netatalk_conf=":ETCDIR:/netatalk.conf"
 
19
 
 
20
[ -f ${netatalk_conf} ] && . ${netatalk_conf}
 
21
 
 
22
echo -n 'starting netatalk daemons:'
 
23
if [ X"${ATALKD_RUN}" != X"no" ]; then
18
24
if [ -x :SBINDIR:/atalkd ]; then
19
25
        :SBINDIR:/atalkd;               echo -n ' atalkd'
20
26
fi
22
28
if [ -x :BINDIR:/nbprgstr ]; then
23
29
        :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:Workstation
24
30
        :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:netatalk
25
 
                                        echo -n ' nbprgstr'
 
31
        echo -n ' nbprgstr'
 
32
fi
26
33
fi
27
34
 
28
 
if [ -x :SBINDIR:/papd ]; then
 
35
if [ -x :SBINDIR:/papd -a X"${PAPD_RUN}" != X"no" ]; then
29
36
        :SBINDIR:/papd;         echo -n ' papd'
30
37
fi
31
38
 
32
 
if [ -x :SBINDIR:/cnid_metad ]; then
33
 
        :SBINDIR:/cnid_metad;           echo -n ' cnid_metad'
 
39
if [ -x :SBINDIR:/cnid_metad -a X"${CNID_METAD_RUN}" != X"no" ]; then
 
40
    :SBINDIR:/cnid_metad $CNID_CONFIG
 
41
    echo -n ' cnid_metad'
34
42
fi
35
43
 
36
 
if [ -x :SBINDIR:/afpd ]; then
 
44
if [ -x :SBINDIR:/afpd -a X"${AFPD_RUN}" != X"no" ]; then
37
45
        :SBINDIR:/afpd;         echo -n ' afpd'
38
46
fi
39
47
 
40
 
if [ -x :SBINDIR:/timelord ]; then
 
48
if [ -x :SBINDIR:/timelord -a X"${TIMELORD_RUN}" != X"no" ]; then
41
49
        :SBINDIR:/timelord;             echo -n ' timelord'
42
50
fi
43
51