Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 137250 Details for
Bug 188085
net-misc/networkmanager - No script to start NetworkManagerDispatcher
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
NM dispatcher init script
NetworkManager-dispatcher (text/plain), 1.17 KB, created by
Miroslaw Mieszczak
on 2007-11-28 17:39:06 UTC
(
hide
)
Description:
NM dispatcher init script
Filename:
MIME Type:
Creator:
Miroslaw Mieszczak
Created:
2007-11-28 17:39:06 UTC
Size:
1.17 KB
patch
obsolete
>#!/sbin/runscript ># ># NetworkManagerDispatcher: NetworkManagerDispatcher daemon ># ># chkconfig: 345 98 02 ># description: This is a daemon for automatically executing certain ># actions, when switching networks ># ># processname: NetworkManagerDispatcher ># pidfile: /var/run/NetworkManagerDispatcher.pid > >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 188085
: 137250 |
137251