Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > d6aaccca3114bde7b23450180d9d17c3 > files > 34

autofs-5.0.5-39.fc15.src.rpm

autofs-5.0.5 - fix lsb service name in init script

From: Ian Kent <raven@themaw.net>

The "Provides:" in the init script header incorrectly uses $autofs
instead of autofs. This isn't correct as using names starting with
a $ is reserved for standards-defined facilities.
---

 redhat/autofs.init.in |    2 +-
 samples/rc.autofs.in  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/redhat/autofs.init.in b/redhat/autofs.init.in
index 4a915ec..86b7eb4 100644
--- a/redhat/autofs.init.in
+++ b/redhat/autofs.init.in
@@ -8,7 +8,7 @@
 # description: Automounts filesystems on demand
 #
 ### BEGIN INIT INFO
-# Provides: $autofs
+# Provides: autofs
 # Required-Start: $network $ypbind
 # Required-Stop: $network $ypbind
 # Default-Start: 3 4 5
diff --git a/samples/rc.autofs.in b/samples/rc.autofs.in
index ae2e907..0306ef6 100644
--- a/samples/rc.autofs.in
+++ b/samples/rc.autofs.in
@@ -7,7 +7,7 @@
 #
 #
 ### BEGIN INIT INFO
-# Provides: $autofs
+# Provides: autofs
 # Required-Start: $network $ypbind
 # Required-Stop: $network $ypbind
 # Default-Start: 3 4 5