commit - /dev/null
commit + 00ff8f48ecc9480ec2822d77e68080ebd0a4f2e7
blob - /dev/null
blob + dd13e0e20b7efc7e638bbfa4fcfcdb168bde953e (mode 644)
--- /dev/null
+++ he-dns
+#!/bin/sh
+#
+#set -x
+
+IP=$(dig +short myip.opendns.com @resolver1.opendns.com)
+
+set -A domains 'tango.foobar.org' 'beta.foobar.org' 'alpha.foobar.org' 'lucy.foobar.org'
+
+DOMAINS=`printf '%s\n' "${domains[@]}"`
+PASS="YourPass"
+
+for i in ${DOMAINS}; do
+sleep 35 && /usr/local/bin/curl -k -4 "https://dyn.dns.he.net/nic/update?hostname=$i&password=${PASS}&myip=${IP}" && printf "\n"
+done
blob - /dev/null
blob + ed23fb4967d09855c19eb7078c8dcb8e702533db (mode 755)
--- /dev/null
+++ update
+#!/bin/sh
+#
+# Update -current
+# src / ports / xenocara
+#
+#set -x
+
+MODULES='src ports xenocara'
+CVSROOT=anoncvs@ftp.hostserver.de:/cvs
+
+if test $(whoami) != root; then
+ doas "$0" "$@"
+ exit $?
+fi
+
+check_new()
+{
+ if [ ! -d /usr/ports/x11/spectrwm ]; then
+ cvs_new
+ fi
+}
+
+cvs_new()
+{
+ printf "Downloading code from CVS...\n\n"
+ cd /usr && cvs -d ${CVSROOT} -q get -P ${MODULES}
+}
+
+cvs_update()
+{
+ printf "Upgrading code from CVS...\n\n"
+ cd /usr && cvs -qd ${CVSROOT} up -Pd ${MODULES}
+}
+
+echo ''
+check_new
+cvs_update