⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moduse

📁 SLAX/FanX制作livecd的完全脚本
💻
字号:
#!/bin/bash# Use module while running LiveCD - include it into directory structure on the fly# Author: Tomas Matejicek <http://www.linux-live.org>#if [ "$1" = "" ]; then   echo   echo "Use module on the fly while running Live CD"   echo "Usage: $0 module.img"   exitfiif [ -a ./liblinuxlive ]; then   . ./liblinuxliveelse   . /usr/lib/liblinuxlive || exit 1fiIMGRO=/mnt/livecd/imgro/IMGRW=/mnt/livecd/imgrw/if [ ! -a "$IMGRO" -o ! -a "$IMGRW" ]; then   echo "Error: You can use modules only while running a Live CD"   exit 1fiMODULE="`basename $1`"INSORDER=/tmp/moduse$$rm -f "$INSORDER"mount_img "$1" "$IMGRO" "$INSORDER" -nIMG="`cat $INSORDER`"IMG=$IMGRW/${IMG:${#IMGRO}}if [ -x "$IMG/preinsert" ]; then "$IMG/preinsert"; fimake_links "$IMG/data" "/" ""if [ -x "$IMG/postinsert" ]; then "$IMG/postinsert"; fi# executable called "manual" is started only by moduseif [ -x "$IMG/manual" ]; then "$IMG/manual"; firm -f "$INSORDER"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -