Hello. I'm new and trying to migrate from arch (dual booting atm)
I am currently missing several openrc start scripts to replace my crucial system daemons. The most important is for iwd. Does anyone know where I can grab an openrc start script (I tried looking through the gentoo package (https://packages.gentoo.org/packages/net-wireless/iwd) but couldn't find anything)
I could write my own I guess, but haven't delved into it too much yet.
The Gentoo folks have provided it, it's just a little hard to find (https://gitweb.gentoo.org/repo/gentoo.git/tree/net-wireless/iwd/files/iwd.initd). Below, a version adapted to Artix, use it until we put it in our repos.
#!/usr/bin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
pidfile="/run/iwd.pid"
command="/usr/lib/iwd/iwd"
command_background="yes"
depend() {
need dbus
keyword -shutdown
}
Thank you!
Just a quick question. I'll need to add --nointerfaces "wlan[0-9]*" as arguments to iwd; does initd use bash syntax? (Can I get away by escaping the inner " or using ' for string?)
You won't know unless you try! ;)
@nous Is this package still pending?