mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
xbps-triggers: systemd-service: ignore unexistent modules-load.d files.
This commit is contained in:
parent
311650d467
commit
6e077d9e92
2 changed files with 3 additions and 2 deletions
|
@ -131,7 +131,8 @@ _EOF
|
||||||
done
|
done
|
||||||
# Load modules specified in systemd_modules files.
|
# Load modules specified in systemd_modules files.
|
||||||
for f in ${systemd_modules}; do
|
for f in ${systemd_modules}; do
|
||||||
for j in $(cat usr/lib/modules-load.d/${f}); do
|
[ ! -f "usr/lib/modules-load.d/${f}" ] && continue
|
||||||
|
for j in "$(cat usr/lib/modules-load.d/${f})"; do
|
||||||
modprobe -q ${j} || :
|
modprobe -q ${j} || :
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.72
|
version=0.73
|
||||||
revision=1
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="The XBPS triggers for Void Linux"
|
short_desc="The XBPS triggers for Void Linux"
|
||||||
|
|
Loading…
Add table
Reference in a new issue