Gentoo Archives: gentoo-dev

From: Andy Arbon <gentoo@××××××××××××××.uk>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Automount start up script error?
Date: Sat, 11 Jan 2003 17:53:30
Message-Id: 3E205844.1080606@andrewarbon.co.uk
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hello,
5
6 I think I've found an error in the /etc/init.d/autofs startup script.
7
8 Automount was not being started with the correct timeout option for me.
9
10 Changing line 127 to:
11 echo "$DAEMON $startupoptions $dir $maptype $map $mapoptions \
12 $localoptions" | sed -e 's/ / /g' -e 's/ / /g'
13
14 from:
15 echo "$DAEMON $dir $maptype $map $mapoptions $localoptions" | sed -e
16 's/ / /g' -e 's/ / /g'
17
18 by inserting the $startupoptions variable in the string fixed it for me.
19 I don't know if that is how it's meant to work because I'm not very
20 familiar with the way Gentoo's startup scripts work.
21
22 Can someone with more understanding have a look and see if this is correct?
23
24 Thanks,
25
26 Andy
27 -----BEGIN PGP SIGNATURE-----
28 Version: GnuPG v1.2.1 (GNU/Linux)
29 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
30
31 iD8DBQE+IFhCX3TTUvZURBERAhQqAJ0QBqZtfkgi6O6Hlct/yGpVEFajVgCeLwuS
32 O2VGyXzGpz5ppd6tG6jCal0=
33 =1a68
34 -----END PGP SIGNATURE-----
35
36
37 --
38 gentoo-dev@g.o mailing list