摘要: #!/bin/bash# chkconfig: 2345 75 50 默认级别 启动级别 关闭级别# description: dropbear ssh daemondsskey=/etc/dropbear/dropbear_dss_host_keyrsakey=/etc/dropbear/drop 阅读全文
posted @ 2019-08-01 16:24 骑驴玩脚本 阅读(1337) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashdeclare -i DebugLevel=0Target=/mnt/sysroot[ -d $Target ] || mkdir $Target &>/dev/nullread -p "A command:" Commandwhile [ $Command != 'q' -a 阅读全文
posted @ 2019-08-01 16:23 骑驴玩脚本 阅读(219) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh# nginx -this script starts and stops the nginx daemon# chkconfig: - 85 15# description: Nginx is an Http(S) server, Http(S) reverse \ proxy 阅读全文
posted @ 2019-08-01 16:19 骑驴玩脚本 阅读(119) 评论(0) 推荐(0) 编辑