2015-03-21 03:14:01 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
check() {
|
|
|
|
return 255
|
|
|
|
}
|
|
|
|
|
|
|
|
depends() {
|
2018-02-21 18:52:56 +00:00
|
|
|
echo dm
|
2015-03-21 03:14:01 +00:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
inst $moddir/init.sh /init
|
2015-10-15 00:38:04 +00:00
|
|
|
inst_multiple \
|
2018-02-21 18:52:56 +00:00
|
|
|
basename \
|
|
|
|
readlink \
|
|
|
|
uname \
|
|
|
|
grep \
|
|
|
|
kmod \
|
|
|
|
modprobe \
|
|
|
|
ln \
|
|
|
|
switch_root \
|
|
|
|
mount \
|
|
|
|
umount \
|
|
|
|
mkdir \
|
|
|
|
rmdir \
|
|
|
|
sleep \
|
2015-10-15 00:38:04 +00:00
|
|
|
sfdisk \
|
|
|
|
mkswap
|
2015-03-21 03:14:01 +00:00
|
|
|
}
|