Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 278221 Details for
Bug 373107
sys-apps/netplug: remove initng support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated script
netplug (text/plain), 715 bytes, created by
Nikoli
on 2011-06-26 11:04:21 UTC
(
hide
)
Description:
updated script
Filename:
MIME Type:
Creator:
Nikoli
Created:
2011-06-26 11:04:21 UTC
Size:
715 bytes
patch
obsolete
>#!/bin/sh ># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># ># Gentoo-specific netplug script ># ># This file gets called by netplug when it wants to bring an interface ># up or down. ># > >IFACE="$1" >ACTION="$2" > >EXEC="/etc/init.d/net.${IFACE}" > >case "${ACTION}" in > in) > ARGS="--quiet start" > ;; > out) > ARGS="--quiet stop" > ;; > probe) > # Do nothing as we should already be up > exit 0 > ;; > *) > echo "$0: wrong arguments" >&2 > echo "Call with <interface> <in|out|probe>" >&2 > exit 1 > ;; >esac > >export IN_BACKGROUND=true > >if [ -x "${EXEC}" ] >then > ${EXEC} ${ARGS} > exit 0 >else > logger -t netplug "Error: Couldn't configure ${IFACE}, no ${EXEC} !" > exit 1 >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 373107
: 278221