Cross Reference: 50-depmod.install
xref
: /
systemd
/
src
/
kernel-install
/
50-depmod.install
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
8f51399e75e5d0d0741ecb18c549a57840bd1cc3
Harald Hoyer
#!/
bin
/
bash
8f51399e75e5d0d0741ecb18c549a57840bd1cc3
Harald Hoyer
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
8f51399e75e5d0d0741ecb18c549a57840bd1cc3
Harald Hoyer
# ex: ts=8 sw=4 sts=4 et filetype=sh
8f51399e75e5d0d0741ecb18c549a57840bd1cc3
Harald Hoyer
8f51399e75e5d0d0741ecb18c549a57840bd1cc3
Harald Hoyer
[[ $
1
==
"add"
]] ||
exit
0
8f51399e75e5d0d0741ecb18c549a57840bd1cc3
Harald Hoyer
[[ $
2
]] ||
exit
1
8f51399e75e5d0d0741ecb18c549a57840bd1cc3
Harald Hoyer
8f51399e75e5d0d0741ecb18c549a57840bd1cc3
Harald Hoyer
exec
depmod
-a
"$2"