summaryrefslogtreecommitdiffstats
path: root/bin/doinitd
blob: 0f1af94069146b23ad468a981b362f856f5639ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

if [[ $# -lt 1 ]] ; then
	echo "$0: at least one argument needed" 1>&2
	exit 1
fi

exec \
env \
_E_EXEDESTTREE_="/etc/init.d/" \
doexe "$@"