installmodules.sh

来自「samba最新软件」· Shell 代码 · 共 34 行

SH
34
字号
#!/bin/shINSTALLPERMS=$1LIBDIR=$2shiftshiftshiftif [ ! -d $LIBDIR ]; thenmkdir $LIBDIRif [ ! -d $LIBDIR ]; then  echo Failed to make directory $LIBDIR  exit 1fififor p in $*; do p2=`basename $p` echo Installing $p as $LIBDIR/$p2 cp -f $p $LIBDIR/ chmod $INSTALLPERMS $LIBDIR/$p2donecat << EOF======================================================================The modules are installed.  You may uninstall the modules using the command "make uninstallmodules" or "make uninstall" to uninstallbinaries, man pages, shell scripts and modules.======================================================================EOFexit 0

⌨️ 快捷键说明

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