From 5dd134caeb7822a28979b88406df74ff64cac1e9 Mon Sep 17 00:00:00 2001 From: Wouter R Date: Wed, 24 Apr 2013 15:30:59 +0200 Subject: [PATCH] Add directory with extra scripts and device files; add gitignore. --- .gitignore | 2 ++ extra/compare-backup.sh | 10 ++++++++++ extra/wifibox-restore-files/etc/banner | 15 +++++++++++++++ extra/wifibox-restore-files/etc/sysupgrade.conf | 11 +++++++++++ extra/wifibox-restore-files/root/.profile | 2 ++ 5 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100755 extra/compare-backup.sh create mode 100644 extra/wifibox-restore-files/etc/banner create mode 100644 extra/wifibox-restore-files/etc/sysupgrade.conf create mode 100644 extra/wifibox-restore-files/root/.profile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce2a350 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +extra/backup +misc diff --git a/extra/compare-backup.sh b/extra/compare-backup.sh new file mode 100755 index 0000000..f5bc515 --- /dev/null +++ b/extra/compare-backup.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +BACKUP_BASENAME=d3d-wifibox-backup +BACKUP_FILE=$BACKUP_BASENAME.tar.gz +REPO_PATH=../../src +BKP_PATH=$BACKUP_BASENAME/lua/autowifi + +cd backup +tar xzvf $BACKUP_FILE +opendiff $REPO_PATH $BKP_PATH diff --git a/extra/wifibox-restore-files/etc/banner b/extra/wifibox-restore-files/etc/banner new file mode 100644 index 0000000..e5fe643 --- /dev/null +++ b/extra/wifibox-restore-files/etc/banner @@ -0,0 +1,15 @@ + _______ ________ __ + | |.-----.-----.-----.| | | |.----.| |_ + | - || _ | -__| || | | || _|| _| + |_______|| __|_____|__|__||________||__| |____| + |__| W I R E L E S S F R E E D O M + ----------------------------------------------------- + BARRIER BREAKER (Bleeding Edge, r36032) + ----------------------------------------------------- + * 1/2 oz Galliano Pour all ingredients into + * 4 oz cold Coffee an irish coffee mug filled + * 1 1/2 oz Dark Rum with crushed ice. Stir. + * 2 tsp. Creme de Cacao + ----------------------------------------------------- + + d3d-wifi test box #2 diff --git a/extra/wifibox-restore-files/etc/sysupgrade.conf b/extra/wifibox-restore-files/etc/sysupgrade.conf new file mode 100644 index 0000000..986f04b --- /dev/null +++ b/extra/wifibox-restore-files/etc/sysupgrade.conf @@ -0,0 +1,11 @@ +## This file contains files and directories that should +## be preserved during an upgrade. + +# /etc/example.conf +# /etc/openvpn/ + +/etc +/usr/share/lua/autowifi +/www/admin +/www/cgi-bin/wfcf +/root diff --git a/extra/wifibox-restore-files/root/.profile b/extra/wifibox-restore-files/root/.profile new file mode 100644 index 0000000..35a9012 --- /dev/null +++ b/extra/wifibox-restore-files/root/.profile @@ -0,0 +1,2 @@ +alias d='ls -la --color=auto' +alias wfcfr='/usr/share/lua/autowifi/ext/wfcf'