iwd on openrc 24 November 2018, 20:28:45 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.
Re: iwd on openrc Reply #1 – 24 November 2018, 21:04:10 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 v2pidfile="/run/iwd.pid"command="/usr/lib/iwd/iwd"command_background="yes"depend() { need dbus keyword -shutdown}
Re: iwd on openrc Reply #2 – 25 November 2018, 00:18:17 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?) Last Edit: 25 November 2018, 01:22:49 by silverbluep