ports/main/nnd-s6-services/rc/kmod.sysfs/up

18 lines
264 B
Plaintext
Raw Normal View History

2022-03-21 12:25:55 +00:00
#!/bin/execlineb -P
2022-10-18 19:06:48 +00:00
s6-envdir -i /etc/s6/env/path
2022-03-21 12:25:55 +00:00
importas -i PATH PATH
emptyenv
export PATH $PATH
fdclose 1
fdclose 2
2022-03-21 12:25:55 +00:00
if -t {
pipeline {
pipeline {
exec find /sys -name modalias -type f -print0
} exec xargs -0 sort -u
} exec xargs modprobe -b -a -s
2022-03-21 12:25:55 +00:00
}