mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
* Clarify license * Patches are revised * Enable dhclient utility support * Enable system-wide network configuration support * Enable polkit-agent * disable_set_hostname.patch is no more appendable. Removed. * Add wpa_supplicant as runtime dependency * Add "provide net" rule to the service file * Re-arrange configure options in alphabetical order * Create plugdev group if missing on system * Display a message during install & upgrade
25 lines
599 B
Plaintext
25 lines
599 B
Plaintext
#!/sbin/openrc-run
|
|
# Copyright (c) 2008 Saleem Abdulrasool <compnerd@compnerd.org>
|
|
# Distributed under the terms of the GNU General Purpose License v2
|
|
# $Header: $
|
|
|
|
depend() {
|
|
need dbus
|
|
provide net
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting NetworkManager"
|
|
start-stop-daemon --start --quiet --pidfile /var/run/NetworkManager.pid \
|
|
--exec /usr/sbin/NetworkManager -- --pid-file /var/run/NetworkManager.pid
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping NetworkManager"
|
|
start-stop-daemon --stop --quiet --pidfile /var/run/NetworkManager.pid
|
|
eend $?
|
|
}
|
|
|
|
# vim: set ft=gentoo-init-d ts=3 sw=3 et:
|