1#!/bin/sh
| 1#!/bin/sh
|
2# (c) Wolfram Schneider, Berlin. April 1996. Public Domain.
| |
3#
| 2#
|
| 3# Copyright (c) April 1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin. 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: 9# 1. Redistributions of source code must retain the above copyright 10# notice, this list of conditions and the following disclaimer. 11# 2. Redistributions in binary form must reproduce the above copyright 12# notice, this list of conditions and the following disclaimer in the 13# documentation and/or other materials provided with the distribution. 14# 15# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26#
|
4# makewhatis.local - start makewhatis(1) only for file systems 5# physically mounted on the system 6# 7# Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill 8# your NFS server -- all clients start makewhatis at the same time! 9# So use this wrapper instead calling makewhatis directly. 10# 11# PS: this wrapper works also for catman(1) 12#
| 27# makewhatis.local - start makewhatis(1) only for file systems 28# physically mounted on the system 29# 30# Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill 31# your NFS server -- all clients start makewhatis at the same time! 32# So use this wrapper instead calling makewhatis directly. 33# 34# PS: this wrapper works also for catman(1) 35#
|
13# $Id: makewhatis.local.sh,v 1.1 1996/05/14 10:27:27 wosch Exp $
| 36# $Id: makewhatis.local.sh,v 1.2 1996/05/22 00:57:40 wosch Exp $
|
14 15PATH=/bin:/usr/bin:$PATH; export PATH 16opt= dirs= localdirs= 17 18for arg 19do 20 case "$arg" in 21 -*) opt="$opt $arg";;
--- 14 unchanged lines hidden --- | 37 38PATH=/bin:/usr/bin:$PATH; export PATH 39opt= dirs= localdirs= 40 41for arg 42do 43 case "$arg" in 44 -*) opt="$opt $arg";;
--- 14 unchanged lines hidden --- |