Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122502 Details for
Bug 179598
Need to keyword net-misc/networkmanager
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/NetworkManagerDispatcher
NetworkManagerDispatcher (text/plain), 1.14 KB, created by
Nathan Caldwell
on 2007-06-19 07:29:29 UTC
(
hide
)
Description:
/etc/init.d/NetworkManagerDispatcher
Filename:
MIME Type:
Creator:
Nathan Caldwell
Created:
2007-06-19 07:29:29 UTC
Size:
1.14 KB
patch
obsolete
>#!/sbin/runscript ># ># NetworkManagerDispatcher: NetworkManagerDispatcher daemon ># ># chkconfig: 345 98 02 ># description: This is a daemon for automatically executing scripts \ ># when network connections change. \ ># ># processname: NetworkManagerDispatcher ># pidfile: /var/run/NetworkManagerDispatcher.pid ># >### BEGIN INIT INFO ># Provides: networkmanager-dispatcher >### END INIT INFO > >prefix=/usr >exec_prefix=/usr >sbindir=${exec_prefix}/sbin > >NETWORKMANAGERDISPATCHER_BIN=${sbindir}/NetworkManagerDispatcher > ># Sanity checks. >[ -x $NETWORKMANAGERDISPATCHER_BIN ] || exit 0 > ># so we can rearrange this easily >processname=$NETWORKMANAGERDISPATCHER_BIN >pidfile=/var/run/NetworkManagerDispatcher.pid > >depend() { > need NetworkManager >} > >start() >{ > if [ -e ${pidfile} ]; then > rm -f ${pidfile} > fi > ebegin "Starting NetworkManagerDispatcher" > start-stop-daemon --start --quiet --exec ${processname} > eend $? > echo $(/bin/pidof NetworkManagerDispatcher) > ${pidfile} >} > >stop() >{ > ebegin "Stopping NetworkManagerDispatcher" > start-stop-daemon --stop --quiet --exec ${processname} --pidfile ${pidfile} > eend $? > if [ -e ${pidfile} ]; then > rm -f $pidfile > 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 179598
:
122502