repo.or.cz
/
dracut.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
dracut-systemd/dracut-initqueue: only start service if really needed
[dracut.git]
/
modules.d
/
30convertfs
/
module-setup.sh
blob
a72021d2d937f8e190e39ac02cc4753853ddfebe
1
#!/bin/bash
2
3
# called by dracut
4
check
() {
5
[[
$mount_needs
]] &&
return
1
6
return
255
7
}
8
9
# called by dracut
10
depends
() {
11
return
0
12
}
13
14
# called by dracut
15
install
() {
16
inst_multiple bash
find
ldconfig
mv rm cp ln
17
inst_hook pre-pivot
99
"
$moddir
/do-convertfs.sh"
18
inst_script
"
$moddir
/convertfs.sh"
/
usr
/
bin
/
convertfs
19
}
20