271aba5d0f
Due to the following dependency chain, it is currently not available in Alpine for armhf and armv7. This breaks postmarketos-base. postmarketos-base -> networkmanager -> polkit -> mozjs60 This can be reverted, when networkmanager is back for arm{hf,v7} in Alpine. The mozjs60 arm fix is from here: https://github.com/alpinelinux/aports/pull/7561 Related: #244
24 lines
599 B
Text
24 lines
599 B
Text
#!/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:
|