* [gentoo-user] /etc/init.d/local - one thing led to another
@ 2005-08-31 0:31 99% John J. Foster
0 siblings, 0 replies; 1+ results
From: John J. Foster @ 2005-08-31 0:31 UTC (permalink / raw
To: Gentoo User
[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]
Good evening all,
I figured it was about time to start the Guarddog firewall script
automatically, instead of always typing /etc/rc.firewall. The obvious
thing to do was add it to /etc/conf.d/local.start. Easy enough. But it
didn't start. OK, let's put a few logger commands in there and see where
it fails. Nothing logged. Nada. Zilch. Tried the same thing in the
/etc/init.d/local script. Once again, nothing logged. Here's the
beginning of the local script
depend() {
after *
}
start() {
ebegin "Starting local"
# Add any misc programs that should be started
# to /etc/conf.d/local.start
logger -p auth.info "This is right before local.start is sourced"
if [[ -e /etc/conf.d/local.start ]] ; then
source /etc/conf.d/local.start
fi
eend $? "Failed to start local"
}
The initial "Starting local" is displayed as the system boots, but
that's all that happens. If I do a /etc/init.d/local restart, all is
well, and all is logged.
Am I once again missing the obvious?
Thanks,
John
--
Contrary to the lie machine, the world is not safer.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2005-08-31 0:31 99% [gentoo-user] /etc/init.d/local - one thing led to another John J. Foster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox