Skip to main content
Topic: iwd on openrc (Read 151 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

iwd on openrc

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 but couldn't find anything)

I could write my own I guess, but haven't delved into it too much yet.
Oh, I use Arch BTW.

Wait . . .

Re: iwd on openrc

Reply #1
The Gentoo folks have provided it, it's just a little hard to find. Below, a version adapted to Artix, use it until we put it in our repos.
Code: [Select]
#!/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
}

Re: iwd on openrc

Reply #2
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?)
Oh, I use Arch BTW.

Wait . . .


 

Re: iwd on openrc

Reply #4
@nous Is this package still pending?