wireguard: Don't fail if modprobe fails
This can lead to unnecessary failures if the kernel module is already loaded: Jun 06 12:38:50 chef bglisn9bz0y5403vdw9hny0ij43r41jk-unit-script-wireguard-wg0-start[13261]: modprobe: FATAL: Module wireguard not found in directory /run/booted-system/kernel-modules/lib/modules/4.19.36
This commit is contained in:
parent
6c1a69627d
commit
4bb48e7f99
@ -303,7 +303,7 @@ let
|
||||
};
|
||||
|
||||
script = ''
|
||||
${optionalString (!config.boot.isContainer) "modprobe wireguard"}
|
||||
${optionalString (!config.boot.isContainer) "modprobe wireguard || true"}
|
||||
|
||||
${values.preSetup}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user