Update debug_microbe command

pull/114/head
Igor Zalatov (from Citadel PC) 2021-12-17 00:32:57 +03:00
parent 9a2fe20af6
commit fbcedf151d
1 changed files with 4 additions and 4 deletions

View File

@ -27,10 +27,10 @@ show_modules() { echo; cat /proc/modules | cut -f 1 -d " " | while read module;
if [ -d "/sys/module/$module/parameters" ]; then ls /sys/module/$module/parameters/ | while read parameter; \
do echo -n "Parameter: $parameter --> "; cat /sys/module/$module/parameters/$parameter; done; fi; echo; done; }
debug_microbe() { curl -k -L -o /tmp/microbe-dev.zip https://github.com/OpenIPC/microbe-web/archive/refs/heads/development.zip; \
unzip -o -d /tmp /tmp/microbe-dev.zip; \
cp -av /tmp/microbe-web-development/files/var/www /var/; \
rm -rf /tmp/microbe-dev.zip /tmp/microbe-web-development; }
debug_microbe() { curl -k -L -o /tmp/microbe-web-dev.zip https://github.com/OpenIPC/microbe-web/archive/refs/heads/dev.zip; \
unzip -o -d /tmp /tmp/microbe-web-dev.zip; \
cp -av /tmp/microbe-web-dev/files/var/www /var/; \
rm -rf /tmp/microbe-web-dev.zip /tmp/microbe-web-dev; }
show_fullname() { echo "openipc-$(ipctool --chip_id)-$(ipctool --sensor_id | awk -F '_' '{print $1}')"; }