Lucien

OpenWrt add custom Service

Original link: https://blog.lucien.ink/archives/530/ OpenWrt add custom Service Address of this article: blog.lucien.ink/archives/530 #!/bin/sh /etc/rc.common # “new” style init script # Look at /lib/functions/service.sh on a running system for explanations of what other SERVICE_ # options you can use, and when you might want them. START=80 APP=node_exporter SERVICE_WRITE_PID=1 SERVICE_DAEMONIZE=1 start() { service_start /etc/usr/local/node_exporter/${APP} } stop() { […]

OpenWrt add custom Service Read More »

git display Chinese

git display Chinese Address of this article: blog.lucien.ink/archives/524 By default, git will translate Chinese, as follows: $ git status Untracked files: (use “git add <file>…” to include in what will be committed) “\346\265\213\350\257\225\346\226\207\344\273\266” solution Execute git config –global core.quotepath false . $ git status Untracked files: (use “git add <file>…” to include in what will

git display Chinese Read More »