~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): Sebastian Rittau
  • Date: 2004-01-19 12:43:49 UTC
  • Revision ID: james.westby@ubuntu.com-20040119124349-es563jbp0hk0ae51
Tags: upstream-1.6.4
ImportĀ upstreamĀ versionĀ 1.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# AppleTalk daemons. Make sure not to start atalkd in the background:
 
4
# its data structures must have time to stablize before running the
 
5
# other processes.
 
6
#
 
7
 
 
8
#
 
9
# SUNOS: UNCOMMENT THESE LINES TO LOAD THE KERNEL MODULE.  Note that
 
10
# modunload-ing netatalk may cause your machine to panic or hang.
 
11
#
 
12
##echo -n 'loading netatalk: '
 
13
##if [ -f :ETCDIR:/netatalk.o ]; then
 
14
##      /usr/etc/modload -sym :ETCDIR:/netatalk.o;
 
15
##fi
 
16
 
 
17
echo -n 'starting appletalk daemons:'
 
18
if [ -x :SBINDIR:/atalkd ]; then
 
19
        :SBINDIR:/atalkd;               echo -n ' atalkd'
 
20
fi
 
21
 
 
22
if [ -x :BINDIR:/nbprgstr ]; then
 
23
        :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:Workstation
 
24
        :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:netatalk
 
25
                                        echo -n ' nbprgstr'
 
26
fi
 
27
 
 
28
if [ -x :SBINDIR:/papd ]; then
 
29
        :SBINDIR:/papd;         echo -n ' papd'
 
30
fi
 
31
 
 
32
if [ -x :SBINDIR:/afpd ]; then
 
33
        :SBINDIR:/afpd;         echo -n ' afpd'
 
34
fi
 
35
 
 
36
if [ -x :SBINDIR:/timelord ]; then
 
37
        :SBINDIR:/timelord;             echo -n ' timelord'
 
38
fi
 
39
 
 
40
                                        echo '.'