home · contact · privacy
Add basic bookworm seedbox setup.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 2 Oct 2024 22:25:13 +0000 (00:25 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 2 Oct 2024 22:25:13 +0000 (00:25 +0200)
bookworm/apt-mark/seedbox [new file with mode: 0644]
bookworm/setup_scripts/purge_nonrequireds.sh
bookworm/setup_scripts/setup_seedbox.sh [new file with mode: 0644]

diff --git a/bookworm/apt-mark/seedbox b/bookworm/apt-mark/seedbox
new file mode 100644 (file)
index 0000000..7129acf
--- /dev/null
@@ -0,0 +1,5 @@
+# needed for torrenting
+rtorrent
+# needed for torrenting session
+screen
+
index 48065fc68bcc0eb417301a6fea1159638e5fa66c..95f289792dbf8c5988e144b517a179cd0570fc7b 100755 (executable)
@@ -24,7 +24,3 @@ comm -3 /tmp/list_all_packages /tmp/list_white > /tmp/list_black
 apt-mark auto `cat /tmp/list_black`
 DEBIAN_FRONTEND=noninteractive apt-get -y --purge autoremove
 rm /tmp/list_all_packages /tmp/list_white_unsorted /tmp/list_white /tmp/list_black
-
-# Somehow, auto-mounts get undone by all of this, so re-mount /etc/fstab.
-# TODO: Find out why.
-mount -a
diff --git a/bookworm/setup_scripts/setup_seedbox.sh b/bookworm/setup_scripts/setup_seedbox.sh
new file mode 100644 (file)
index 0000000..b5f9236
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+. ./misc.sh
+. ../../misc.sh
+
+expect_setup_finished_file setup_server_has_been_run setup_server.sh
+
+cd "${setup_scripts_dir}"
+# ./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" seedbox
+./install_for_target.sh seedbox