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
|
||||
# Load modules specified in systemd_modules files.
|
||||
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} || :
|
||||
done
|
||||
done
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.72
|
||||
version=0.73
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
short_desc="The XBPS triggers for Void Linux"
|
||||
|
|
Loading…
Reference in a new issue