This guide is currently updated to Sailfish 4.5. Some things have changed, so check the history if you need guide for an older version.
Devices I have tested the guide:
- Xperia 10 II
- Currently not working: Xperia XA2
# m h dom mon dow command | |
# call renew weekly | |
57 0 */7 * * root /etc/letsencrypt/update.sh |
#!/usr/bin/env python | |
import sys, argparse, datetime, time, logging | |
try: | |
import requests | |
except ImportError: | |
import json | |
try: | |
from urllib2 import urlopen | |
from urllib import urlencode |
#!/bin/sh -eu | |
alg="rs512" | |
key="private_key.pem" | |
bits=2048 | |
slen=32 | |
while [ $# -gt 0 ]; do | |
case "$1" in | |
-a) alg=$(echo "$2"|tr '[A-Z]' '[a-z]') ; shift 2 ;; |
#!/bin/sh -e | |
# This script will remove all the kernels, except newest $keep_count and the currently active one. | |
# Very handy with Ubuntus as that installs a lot of kernels. | |
keep_count=${1:-2} | |
# select versions to keep | |
installed=$(dpkg -l 'linux-*' | awk '/^ii/ {print $2}' | grep -E "\-[0-9]+\.[0-9]+\.[0-9]+-[0-9]+" -) |