run-ldconfig
来自「libaal-1.0.5.tar.gz reiser4progs编译时需要」· 代码 · 共 27 行
TXT
27 行
#!/bin/bashldc="";if [ -x /sbin/ldconfig ]; then ldc="/sbin/ldconfig"; fiif test x$ldc = x; then which ldconfig 2>&1>/dev/null; if test $? -eq 0; then ldc=`which ldconfig`; fifiif test x$ldc = x; then echo ; echo "ldconfig is not available"; echo "do not forget to run ldconfig manually"; echo ; exit 1;ficp /etc/ld.so.conf /tmp/ld.$$.so.conf;echo $1 >> /tmp/ld.$$.so.conf;echo ;echo Running $ldc;$ldc -f /tmp/ld.$$.so.conf;echo ;rm /tmp/ld.$$.so.conf;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?