31 lines
397 B
Bash
31 lines
397 B
Bash
#!/bin/bash
|
|
|
|
check() {
|
|
return 255
|
|
}
|
|
|
|
depends() {
|
|
echo dm
|
|
return 0
|
|
}
|
|
|
|
install() {
|
|
inst $moddir/init.sh /init
|
|
inst_multiple \
|
|
basename \
|
|
readlink \
|
|
uname \
|
|
grep \
|
|
kmod \
|
|
modprobe \
|
|
ln \
|
|
switch_root \
|
|
mount \
|
|
umount \
|
|
mkdir \
|
|
rmdir \
|
|
sleep \
|
|
sfdisk \
|
|
mkswap
|
|
}
|