Is there any way in #FreeBSD of adding extra REQUIRES lines to RC scripts without modifying the script? I have an iscsi export that is exported over WireGuard. The iscsi scripts start after the network is up, but not after WireGuard starts. And so they try to bind go an IP that doesn't yet exist and fail (similar problems on the client and server, with different failure modes) and require manual prodding. I really want a thing in rc.conf or similar to be something like iscsid_extra_requires="wireguard" or similar.
Timeline
Post
Remote status
Context
1
@david_chisnall I still think this "extra_requires" feature would be great to have instead of the hacky "fake rc script with new REQUIRE/BEFORE items"
Replies
0Fetching replies…