File: rc.atalk.bsd

package info (click to toggle)
netatalk 1.4b2%2Basun2.1.3-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,288 kB
  • ctags: 2,976
  • sloc: ansic: 35,145; makefile: 1,968; sh: 346
file content (39 lines) | stat: -rwxr-xr-x 954 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# AppleTalk daemons. Make sure not to start atalkd in the background:
# its data structures must have time to stablize before running the
# other processes.
#

#
# SUNOS: UNCOMMENT THESE LINES TO LOAD THE KERNEL MODULE.  Note that
# modunload-ing netatalk may cause your machine to panic or hang.
#
##echo -n 'loading netatalk: '
##if [ -f :ETCDIR:/netatalk.o ]; then
##	/usr/etc/modload -sym :ETCDIR:/netatalk.o;
##fi

echo -n 'starting appletalk daemons:'
if [ -x :SBINDIR:/atalkd ]; then
	:SBINDIR:/atalkd;		echo -n ' atalkd'
fi

if [ -x :BINDIR:/nbprgstr ]; then
	:BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:Workstation
	:BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:netatalk
					echo -n ' nbprgstr'
fi

if [ -x :SBINDIR:/papd ]; then
	:SBINDIR:/papd;		echo -n ' papd'
fi

if [ -x :SBINDIR:/afpd ]; then
	:SBINDIR:/afpd;		echo -n ' afpd'
fi

if [ -x :SBINDIR:/timelord ]; then
	:SBINDIR:/timelord;		echo -n ' timelord'
fi

					echo '.'