aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/torouter-prep/configs/fstab2
-rw-r--r--packages/torouter-prep/src/torouter_config.sh3
-rwxr-xr-xpackages/torouter_easy_setup.sh2
3 files changed, 6 insertions, 1 deletions
diff --git a/packages/torouter-prep/configs/fstab b/packages/torouter-prep/configs/fstab
new file mode 100644
index 0000000..292e521
--- /dev/null
+++ b/packages/torouter-prep/configs/fstab
@@ -0,0 +1,2 @@
+# This is the weird boot partition (hopefully ext2/3/4 later)
+/dev/sda1 /boot vfat nodev,noexec,nosuid 0 0
diff --git a/packages/torouter-prep/src/torouter_config.sh b/packages/torouter-prep/src/torouter_config.sh
index deaa72b..106ffc3 100644
--- a/packages/torouter-prep/src/torouter_config.sh
+++ b/packages/torouter-prep/src/torouter_config.sh
@@ -88,6 +88,9 @@ zcat $config_dir/armrc.sample.gz > ~$ADMINUSER/.armrc
# Reconfigure /etc/inittab here
cp $config_dir/inittab /etc/inittab
+# Reconfigure fstab
+cp $config_dir/fstab /etc/fstab
+
# Configure the network
# eth0 is our "internet" interface with a dhcp client
cp $config_dir/interfaces /etc/network/interfaces
diff --git a/packages/torouter_easy_setup.sh b/packages/torouter_easy_setup.sh
index 2d65481..f5bf6c5 100755
--- a/packages/torouter_easy_setup.sh
+++ b/packages/torouter_easy_setup.sh
@@ -30,7 +30,7 @@ deb http://torrouter.torproject.org/torrouter torrouter main
EOF
apt-key add /tmp/torouter-repo.key
-apt-get update
+apt-get update --fix-missing
apt-get install -t torrouter -y torouter-prep
echo "We're going to trash your system now; you have 30 seconds to bail out!"