|
|
@ -4,7 +4,7 @@
|
|
|
|
# Author: tteck (tteckster)
|
|
|
|
# Author: tteck (tteckster)
|
|
|
|
# License: MIT
|
|
|
|
# License: MIT
|
|
|
|
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
|
|
|
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
|
|
|
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
|
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
|
|
|
|
|
|
|
|
|
|
color
|
|
|
|
color
|
|
|
|
verb_ip6
|
|
|
|
verb_ip6
|
|
|
@ -40,7 +40,7 @@ start() {
|
|
|
|
stop() {
|
|
|
|
stop() {
|
|
|
|
kill \$(cat \$pidfile)
|
|
|
|
kill \$(cat \$pidfile)
|
|
|
|
rm \$pidfile
|
|
|
|
rm \$pidfile
|
|
|
|
}" > /etc/init.d/esphome
|
|
|
|
}" >/etc/init.d/esphome
|
|
|
|
|
|
|
|
|
|
|
|
chmod 755 /etc/init.d/esphome
|
|
|
|
chmod 755 /etc/init.d/esphome
|
|
|
|
rc-service -q esphome start
|
|
|
|
rc-service -q esphome start
|
|
|
|