On 2/27/21 4:39 PM, Skylar Thompson wrote:
You can fix it if you group the assignments together:
[ -z "$INSMOD" ] && (INSMOD=$(which modprobe) || INSMOD="$(which insmod)")
They do need to be grouped, but if you group them with parentheses, they
execute in a subshell, and the assignment is los
I think this is a problem with the precedence of && vs ||. If INSMOD is not
set, it will work as you intend, but once it's set, only the || branch will
execute.
You can fix it if you group the assignments together:
[ -z "$INSMOD" ] && (INSMOD=$(which modprobe) || INSMOD="$(which insmod)")
On Sat
On 2/27/21 1:32 PM, Kenneth Porter wrote:
[ -z "$INSMOD" ] && INSMOD=$(which modprobe) || INSMOD=$(which insmod)
It seems to set INSMOD to /usr/sbin/insmod, even though
/usr/sbin/modprobe is available. (Both are symlinks to ../bin/kmod.)
[ -z "$INSMOD" ] && INSMOD=$(which modprobe) || I
In the sqm-scripts package for managing network traffic shaping is this
line for finding a program suitable for loading the kernel shaping modules:
[ -z "$INSMOD" ] && INSMOD=$(which modprobe) || INSMOD=$(which insmod)
It seems to set INSMOD to /usr/sbin/insmod, even though /usr/sbin/modprobe
Am 27.02.21 um 16:28 schrieb James Szinger:
On Fri, 26 Feb 2021 09:40:06 -0600
Johnny Hughes wrote:
https://docs.fedoraproject.org/en-US/modularity/using-modules/
I find the modularity end-user documentation to be woefully
inadequate, especially for developers.
Yep!
Here are several ba
On Fri, 26 Feb 2021 09:40:06 -0600
Johnny Hughes wrote:
>
> https://docs.fedoraproject.org/en-US/modularity/using-modules/
I find the modularity end-user documentation to be woefully
inadequate, especially for developers.
Here are several basic to advanced question that I can’t see answers
for
On 2/26/21 11:38 AM, Leon Fauster via CentOS wrote:
https://pagure.io/fm-orchestrator
What an obvious package name. :-)
Thanks for the pointer!
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
7 matches
Mail list logo