summaryrefslogtreecommitdiffhomepage
path: root/cli/addonsd.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-11-25 02:11:55 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-11-25 02:11:55 +0100
commit69d4fe9a8120fd10e144bac0bc5f7083ee1a283a (patch)
treefb384e75df2bbc5ce1400ef94835dd1ac739bc6b /cli/addonsd.sh
parentbdfb319854d7b5bdc125073016d648b417f45f8a (diff)
cli: move to android_kernel_wireguard
These tools are now part of the ROM builder's toolkit at: https://git.zx2c4.com/android_kernel_wireguard/about/ Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cli/addonsd.sh')
-rw-r--r--cli/addonsd.sh37
1 files changed, 0 insertions, 37 deletions
diff --git a/cli/addonsd.sh b/cli/addonsd.sh
deleted file mode 100644
index 90865d0c..00000000
--- a/cli/addonsd.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/sh
-
-. /tmp/backuptool.functions
-
-list_files() {
-cat <<_EOF
-xbin/wg
-xbin/wg-quick
-_EOF
-}
-
-case "$1" in
- backup)
- list_files | while read FILE DUMMY; do
- backup_file $S/"$FILE"
- done
- ;;
- restore)
- list_files | while read FILE REPLACEMENT; do
- R=""
- [ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"
- [ -f "$C/$S/$FILE" ] && restore_file $S/"$FILE" "$R"
- done
- ;;
- pre-backup)
- # Stub
- ;;
- post-backup)
- # Stub
- ;;
- pre-restore)
- # Stub
- ;;
- post-restore)
- # Stub
- ;;
-esac