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
| #!/bin/bash | |
| mkdir /media/cryptofs/root/ | |
| curl -k https://letsencrypt.org/certs/isrgrootx1.pem.txt | tee /media/cryptofs/root/isrgrootx1.pem.txt | |
| match=' # Do our best to neuter telemetry' | |
| comment=' # sneak in the new cert' | |
| command=' mount -o bind /media/cryptofs/root/isrgrootx1.pem.txt /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt' | |
| cd /media/cryptofs/apps/usr/palm/services/com.palmdts.devmode.service/ |
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
| # duckdns ipv4 v6 dual stack upgrade script - tekand - 2020/04/07 | |
| # settings | |
| :local ddnsDomain value="DOMAIN"; | |
| :local ddnsToken value="TOKEN"; | |
| # getting the ipv4 address for upgrade | |
| :global actualIPv4 value=[/ip address get [find where interface=INTERFACE] value-name=address]; | |
| :global actualIPv4 value=[:pick $actualIPv4 -1 [:find $actualIPv4 "/" -1] ]; |