summaryrefslogtreecommitdiff
blob: cdb66e73ef219e7363d102c7dfff3c6a5c58b410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- gentoo/net-fs/autofs/files/autofs.init.orig
+++ gentoo/net-fs/autofs/files/autofs.init
@@ -11,11 +11,12 @@ DAEMON=/usr/sbin/automount
 SYSCONFDIR=/etc/autofs
 
 depend() {
-	need localmount	portmap
-	use ypbind nfs slapd portmap
+	need localmount
+	use ypbind nfs slapd portmap net
 }
 
-opts="start stop status stats reload restart"
+extra_commands="stats"
+extra_started_commands="reload"
 
 #
 # Check for all maps that are to be loaded