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/sh | |
set -e | |
MDS=http://mds.edugain.org/ | |
MDSCACHE=/tmp/edugain.mds.xml | |
MAXAGE=3600 | |
ENTITY=$1 | |
AGE=$(expr $MAXAGE + 1) | |
if [ -e $MDSCACHE ]; then |
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 | |
# | |
# This script can be used to generate/renew/refresh Letsencrypt SSL certificates | |
# Simply edit the config variables below, and run it (as root, or make sure your user has access to write to all approriate directories). | |
# It depends on acem-tiny (https://github.com/diafygi/acme-tiny) for the actual interaction with the Letsencrypt ACME service | |
# | |
set -e | |
# base dir where Letsencrypt this script is installed and acme-tiny is checked out |
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/sh | |
set -e | |
# support both /etc/pm/sleep.d and /lib/systemd/system/sleep arguments | |
if [ -z "$2" ] | |
then | |
# old-style /etc/pm format | |
if [ "$1" = "suspend" ]; then STAGE="pre"; TYPE="sleep"; fi |
NewerOlder