]> git.pld-linux.org Git - packages/autofs.git/commitdiff
- Added the option for turning on and off the use of YP
authordobrek <dobrek@pld-linux.org>
Wed, 23 Oct 2002 13:26:30 +0000 (13:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    autofs.init -> 1.17
    autofs.sysconfig -> 1.2

autofs.init
autofs.sysconfig

index 7bece751a971b0a5bfdbd621e5afe85b70cbfae1..cb24d77c28e6efa8f9388056aa7d2cb20762772a 100644 (file)
@@ -66,6 +66,7 @@ fi
 #
 # Check for YellowPage maps to be loaded
 #
+if is_yes $USE_YP; then 
 if [ -e /usr/bin/ypcat ] && [ `ypcat -k auto.master 2>/dev/null | wc -l` -gt 0 ]
 then
     ypcat -k auto.master | (
@@ -87,6 +88,7 @@ then
        done
     )
 fi
+fi
 }
 
 #
index 27c7e51b4cc34ccd8611fe759565dd64aa01f2af..ce6d0bd4dd318818d0bc326091f64ab6f72917d6 100644 (file)
@@ -4,3 +4,5 @@
 # completely.
 #
 TIMEOUT=60
+# Set it to yes if you want autofs to take maps from YP
+USE_YP=no
This page took 0.082071 seconds and 4 git commands to generate.