#!/bin/sh # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ # # run a vblade daemon using a logger process # output is directed to syslogd # # Although logging goes to syslog, let's going to # protect ourselves against the most common way or # calling vbladed: without arguments. if [ -z "$*" ] then echo "Usage: vbladed " >&2 exit 1 fi [ -z "${LOGTAG}" ] && LOGTAG=vbladed /usr/sbin/vblade "${@}" &1 | /usr/bin/logger -t "${LOGTAG}"