Deleted Added
full compact
mountcritremote (175686) mountcritremote (179928)
1#!/bin/sh
2#
1#!/bin/sh
2#
3# $FreeBSD: head/etc/rc.d/mountcritremote 175686 2008-01-26 14:02:19Z mtm $
3# $FreeBSD: head/etc/rc.d/mountcritremote 179928 2008-06-22 15:40:19Z mtm $
4#
5
6# PROVIDE: mountcritremote
7# REQUIRE: NETWORKING FILESYSTEMS cleanvar ipsec
8# KEYWORD: nojail
9
10. /etc/rc.subr
11

--- 19 unchanged lines hidden (view full) ---

31 esac
32 return 0
33}
34
35mountcritremote_start()
36{
37 # Mount nfs filesystems.
38 #
4#
5
6# PROVIDE: mountcritremote
7# REQUIRE: NETWORKING FILESYSTEMS cleanvar ipsec
8# KEYWORD: nojail
9
10. /etc/rc.subr
11

--- 19 unchanged lines hidden (view full) ---

31 esac
32 return 0
33}
34
35mountcritremote_start()
36{
37 # Mount nfs filesystems.
38 #
39 echo -n 'Mounting NFS file systems:'
40 mount -a -t nfs
41 echo '.'
39 case "`/sbin/mount -d -a -t nfs`" in
40 '')
41 ;;
42 *)
43 echo -n 'Mounting NFS file systems:'
44 mount -a -t nfs
45 echo '.'
46 ;;
47 esac
42
43 # Mount other network filesystems if present in /etc/fstab.
44 case ${extra_netfs_types} in
45 [Nn][Oo])
46 ;;
47 *)
48 netfs_types="${netfs_types} ${extra_netfs_types}"
49 ;;

--- 24 unchanged lines hidden ---
48
49 # Mount other network filesystems if present in /etc/fstab.
50 case ${extra_netfs_types} in
51 [Nn][Oo])
52 ;;
53 *)
54 netfs_types="${netfs_types} ${extra_netfs_types}"
55 ;;

--- 24 unchanged lines hidden ---