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

📄 i.swat

📁 samba-3.0.22.tar.gz 编译smb服务器的源码
💻 SWAT
字号:
while read src dest do	sed -e '/^swat.*swat$/d' $dest >/tmp/$$swat || exit 2	cat $src >>/tmp/$$swat || exit 2	# Use cp;rm instead of mv because $dest might be a symlink	cp -f /tmp/$$swat $dest || exit 2	rm -f /tmp/$$swatdoneif [ "$1" = ENDOFCLASS ]then		# If local install, restart inetd	if [ -z "${PKG_INSTALL_ROOT}" ]	then		TARGET=`hostname`		kill -HUP `ps -e -o pid,comm | grep inetd | awk '{print $1}'`	else		TARGET="<servername>"	fi	cat <<EOFThe Samba Web Administration Tool (SWAT) has been installed on your system.You can connect to it from a web browser on TCP port 901 at http://${TARGET}:901/.If you use NIS/NIS+, check the ${PKG_INSTALL_ROOT}/etc/nsswitch.conf fileto verify that the local services file is being used as a backend for theservices database, or you won't be able to connect to the Samba Admin Tool.EOF	if [ ! -z "$PKG_INSTALL_ROOT" ]	then		cat <<EOFThe SWAT settings will not take effect till you send a hangup (HUP) signal to inetd on the target system.EOF	fifi

⌨️ 快捷键说明

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