This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate Protocol Buffer Markdown with Validation | |
<a name="top"></a> | |
## Services | |
{{- range .Files -}} | |
{{- $file := . -}} | |
{{- $srivicesLength := len $file.Services -}} | |
{{- if ne $srivicesLength 0 -}} | |
{{range $file.Services -}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Raspberry Pi rootfs ROM control function | |
function rsfsrom() { | |
case $1 in | |
"status" ) | |
raspi-config nonint get_overlay_now && echo "enable" || echo "disabled" | |
;; | |
"enable" ) | |
sudo raspi-config nonint enable_overlayfs && | |
echo -e "rootfs ROM is enable. system reboot required.\n> sudo systemctl reboot" | |
;; |