23,121
社区成员
发帖
与我相关
我的任务
分享
root@raspberryhome:/etc/init.d# update-rc.d ngrok defaults 90
insserv: Script ngrok is broken: missing end of LSB comment.
insserv: warning: script 'K01ngrok' missing LSB tags and overrides
insserv: Script ngrok is broken: missing end of LSB comment.
insserv: Script ngrok is broken: missing end of LSB comment.
insserv: Script ngrok is broken: missing end of LSB comment.
insserv: Script ngrok is broken: missing end of LSB comment.
insserv: Script ngrok is broken: missing end of LSB comment.
insserv: Script ngrok is broken: missing end of LSB comment.
insserv: Script ngrok is broken: missing end of LSB comment.
insserv: warning: script 'ngrok' missing LSB tags and overrides
root@raspberryhome:/etc/init.d#
#!/bin/sh
#
### BEGIN INIT INFO
# Provides: ngrok1
# Required-Start:
# Required-Stop:
# Should-Start:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start and stop A
# Description: asf
### END INIT INFO
case $1 in
start)
echo "start ngrok service.."
sh /usr/software/ngrok/start.sh
;;
esac
exit 0
/usr/software/ngrok/sunny clientid 884d76024d89f486