9 lines
314 B
Bash
Executable file
9 lines
314 B
Bash
Executable file
#!/bin/sh -e
|
|
#This checks if the directories below are not empty
|
|
test ! -z "$(ls /lib/modules-load.d)"
|
|
test ! -z "$(ls /usr/lib/modules-load.d)"
|
|
test ! -z "$(ls /usr/local/lib/modules-load.d)"
|
|
test ! -z "$(ls /etc/modules-load.d)"
|
|
test ! -z "$(ls /run/modules-load.d)"
|
|
/lib/systemd/systemd-modules-load
|
|
exec pause
|