Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d backout rev. 1.59. Will be re-done differently.
details: https://anonhg.NetBSD.org/src/rev/fd6e01b94fb6
branches: trunk
changeset: 747343:fd6e01b94fb6
user: cegger <cegger%NetBSD.org@localhost>
date: Fri Sep 11 21:25:07 2009 +0000
description:
backout rev. 1.59. Will be re-done differently.
diffstat:
etc/rc.d/network | 23 +----------------------
1 files changed, 1 insertions(+), 22 deletions(-)
diffs (46 lines):
diff -r 5bd13cca6e01 -r fd6e01b94fb6 etc/rc.d/network
--- a/etc/rc.d/network Fri Sep 11 20:10:06 2009 +0000
+++ b/etc/rc.d/network Fri Sep 11 21:25:07 2009 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: network,v 1.59 2009/09/08 08:56:33 cegger Exp $
+# $NetBSD: network,v 1.60 2009/09/11 21:25:07 cegger Exp $
#
# PROVIDE: network
@@ -12,7 +12,6 @@
name="network"
start_cmd="network_start"
stop_cmd="network_stop"
-fstab_file="/etc/fstab"
nl='
' # a newline
@@ -55,26 +54,6 @@
domainname $domainname
fi
- # Do not flush routes if root file system is nfs mounted in /etc/fstab,
- # or the nfs server is unreachable if it is in a different subnet,
- # otherwise.
- while read fs_spec fs_file fs_vfstype fs_mntops fs_freq fs_passno
- do
- case "${fs_spec}:${fs_file}:${fs_passno}" in
- \#*|'':*)
- continue # skip comment or blank line
- ;;
- *:/:*) case "${fs_spec}" in
- *:*)
- echo "Not flushing routes. /: nfs mounted"
- flushroutes="NO"
- ;;
- esac
- ;;
- esac
- done <"${fstab_file}"
-
-
# Flush all routes just to make sure it is clean
if checkyesno flushroutes; then
/sbin/route -qn flush
Home |
Main Index |
Thread Index |
Old Index