aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-prep
diff options
context:
space:
mode:
authorJacob Appelbaum <jacob@appelbaum.net>2011-08-20 22:44:52 +0200
committerJacob Appelbaum <jacob@appelbaum.net>2011-08-20 22:44:52 +0200
commitcc9579c8b5c91c4154802b2a8ed9e431477b0a5b (patch)
tree986501d5815c23c0ea2639f30376c0deac7beccd /packages/torouter-prep
parent8a14db8ef9880456808904b6b3a6c098606ab321 (diff)
downloadtorouter-cc9579c8b5c91c4154802b2a8ed9e431477b0a5b.tar.gz
torouter-cc9579c8b5c91c4154802b2a8ed9e431477b0a5b.zip
add fstab entries
Diffstat (limited to 'packages/torouter-prep')
-rw-r--r--packages/torouter-prep/configs/fstab2
-rw-r--r--packages/torouter-prep/src/torouter_config.sh3
2 files changed, 5 insertions, 0 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