Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 330660 Details for
Bug 444814
net-misc/networkmanager - add live git ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init.d.networkmanager
init.d.networkmanager (text/plain), 1.48 KB, created by
Pavel Šimerda
on 2012-11-26 17:33:44 UTC
(
hide
)
Description:
init.d.networkmanager
Filename:
MIME Type:
Creator:
Pavel Šimerda
Created:
2012-11-26 17:33:44 UTC
Size:
1.48 KB
patch
obsolete
>#!/sbin/runscript ># Copyright (c) 2008 Saleem Abdulrasool <compnerd@compnerd.org> ># Distributed under the terms of the GNU General Purpose License v2 ># $Header: $ > >description="NetworkManager daemon. The service is marked as started only \ >when a network connection is established." > >depend() { > need dbus > provide net >} > >start() { > # If we are re-called by a dispatcher event, we want to mark the service > # as started without starting the daemon again > yesno "${IN_BACKGROUND}" && return 0 > > [ -z "${INACTIVE_TIMEOUT}" ] && INACTIVE_TIMEOUT="1" > > ebegin "Starting NetworkManager" > start-stop-daemon --start --quiet --pidfile /run/NetworkManager/NetworkManager.pid \ > --exec /usr/sbin/NetworkManager -- --pid-file /run/NetworkManager/NetworkManager.pid > local _retval=$? > eend "${_retval}" > if [ "x${_retval}" = 'x0' ] && ! nm-online -t "${INACTIVE_TIMEOUT}"; then > einfo "Marking NetworkManager as inactive. It will automatically be marked" > einfo "as started after a network connection has been established." > mark_service_inactive > fi > return "${_retval}" >} > >stop() { > # If we are re-called by a dispatcher event, we want to mark the service > # as inactive without stopping the daemon > if yesno "${IN_BACKGROUND}"; then > mark_service_inactive "${SVCNAME}" > return 0 > fi > > ebegin "Stopping NetworkManager" > start-stop-daemon --stop --quiet --pidfile /run/NetworkManager/NetworkManager.pid > eend $? >} > ># vim: set ft=gentoo-init-d ts=3 sw=3 et:
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 444814
:
330658
| 330660 |
334844
|
334864
|
335858