mountcritremote (98184) | mountcritremote (103019) |
---|---|
1#!/bin/sh 2# 3# $NetBSD: mountcritremote,v 1.7 2002/04/29 12:29:53 lukem Exp $ | 1#!/bin/sh 2# 3# $NetBSD: mountcritremote,v 1.7 2002/04/29 12:29:53 lukem Exp $ |
4# $FreeBSD: head/etc/rc.d/mountcritremote 98184 2002-06-13 22:14:37Z gordon $ | 4# $FreeBSD: head/etc/rc.d/mountcritremote 103019 2002-09-06 16:18:05Z gordon $ |
5# 6 7# PROVIDE: mountcritremote 8# REQUIRE: NETWORKING root mountcritlocal 9# KEYWORD: FreeBSD NetBSD 10 11. /etc/rc.subr 12 13name="mountcritremote" 14stop_cmd=":" 15 | 5# 6 7# PROVIDE: mountcritremote 8# REQUIRE: NETWORKING root mountcritlocal 9# KEYWORD: FreeBSD NetBSD 10 11. /etc/rc.subr 12 13name="mountcritremote" 14stop_cmd=":" 15 |
16case `${CMD_OSTYPE}` in | 16case ${OSTYPE} in |
17 FreeBSD) 18 start_cmd="mountcritremote_start" 19 start_precmd="mountcritremote_precmd" 20 ;; 21NetBSD) 22 start_cmd="mountcritremote_start" 23 ;; 24esac --- 17 unchanged lines hidden (view full) --- 42 fi 43 ;; 44 esac 45 return 0 46} 47 48mountcritremote_start() 49{ | 17 FreeBSD) 18 start_cmd="mountcritremote_start" 19 start_precmd="mountcritremote_precmd" 20 ;; 21NetBSD) 22 start_cmd="mountcritremote_start" 23 ;; 24esac --- 17 unchanged lines hidden (view full) --- 42 fi 43 ;; 44 esac 45 return 0 46} 47 48mountcritremote_start() 49{ |
50 case `${CMD_OSTYPE}` in | 50 case ${OSTYPE} in |
51 FreeBSD) 52 # Mount nfs filesystems. 53 # 54 echo -n 'Mounting NFS file systems:' 55 mount -a -t nfs 56 echo '.' 57 58 # Mount other network filesystems if present in /etc/fstab --- 31 unchanged lines hidden --- | 51 FreeBSD) 52 # Mount nfs filesystems. 53 # 54 echo -n 'Mounting NFS file systems:' 55 mount -a -t nfs 56 echo '.' 57 58 # Mount other network filesystems if present in /etc/fstab --- 31 unchanged lines hidden --- |