Autoinstall ipctool from GitHub now

pull/141/head
Igor Zalatov (from Citadel PC) 2022-01-04 13:47:54 +03:00
parent 579c38c1e4
commit b01574874b
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ export EDITOR='/bin/vi'
[ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
ipctool_install() { curl -s -L -o /tmp/ipctool https://github.com/OpenIPC/ipctool/releases/download/latest/ipctool && \
chmod +x /tmp/ipctool && echo -e "\n\e[1;36mipctool installed\e[0m\n\n"; }
[ -x /tmp/ipctool ] || ipctool() { [ -x /tmp/ipctool ] && /tmp/ipctool $@ || (curl -s -L -o /tmp/ipctool https://github.com/OpenIPC/ipctool/releases/download/latest/ipctool && \
chmod +x /tmp/ipctool && echo -e "\n\e[1;35mThe ipctool installed as remote GitHub plugin\e[0m\n" && /tmp/ipctool $@); }
majestic_changes() { diff -L "Majestic changes" -U 3 /rom/etc/majestic.yaml /etc/majestic.yaml; }