base/init.sh: ignore exclamation mark for kmod static-nodes
newer versions add an exclamation mark for the type, to mark it to be created on boot only.master
parent
3659d64df3
commit
fa45d0d9c9
|
@ -73,6 +73,7 @@ fi
|
||||||
if command -v kmod >/dev/null 2>/dev/null; then
|
if command -v kmod >/dev/null 2>/dev/null; then
|
||||||
kmod static-nodes --format=tmpfiles 2>/dev/null | \
|
kmod static-nodes --format=tmpfiles 2>/dev/null | \
|
||||||
while read type file mode a a a majmin; do
|
while read type file mode a a a majmin; do
|
||||||
|
type=${type%\!}
|
||||||
case $type in
|
case $type in
|
||||||
d)
|
d)
|
||||||
mkdir -m $mode -p $file
|
mkdir -m $mode -p $file
|
||||||
|
|
Loading…
Reference in New Issue