UpdateCert


#!/bin/sh

# Installs the certificates for HTTPS that were created by `/jffs/etc/CreateCert'.

# This script was written by Stephan Seidl in 2012, no copyright is claimed.
# It is offered as-is, without any warranty.
# This script is in the public domain; do with it what you wish.

unset LANG LC_ALL
LC_ALL=C
export LC_ALL

for b in cert key privkey ; do
  f=/etc/${b}.pem
  grep -q " ${f} " /proc/mounts || mount -o bind /jffs${f} ${f}
  done


Stephan K.H. Seidl