From 5e0fd9c935b9ed6cadc0c62d0a56ecaa007f7e0e Mon Sep 17 00:00:00 2001 From: Roel Date: Wed, 15 Apr 2015 15:44:24 +0200 Subject: [PATCH] reverted to previous fstab_extroot solution --- lazyinstall/fstab_extroot | 21 +++++++++++++++++++++ lazyinstall/lazyinstall2.sh | 3 +-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 lazyinstall/fstab_extroot diff --git a/lazyinstall/fstab_extroot b/lazyinstall/fstab_extroot new file mode 100644 index 0000000..745b760 --- /dev/null +++ b/lazyinstall/fstab_extroot @@ -0,0 +1,21 @@ +#/etc/config/fstab from Meshenger project + +config global automount + option from_fstab 1 + option anon_mount 1 + +config global autoswap + option from_fstab 1 + option anon_swap 0 + +config mount + option target / + option device /dev/sda1 + option fstype ext4 + option options rw,sync + option enabled 1 + option enabled_fsck 0 + +config swap + option device /dev/sda2 + option enabled 1 diff --git a/lazyinstall/lazyinstall2.sh b/lazyinstall/lazyinstall2.sh index 18569b5..4b0ef11 100755 --- a/lazyinstall/lazyinstall2.sh +++ b/lazyinstall/lazyinstall2.sh @@ -8,8 +8,7 @@ echo 'You should review the settings of "wireless" and "network"' mkswap /dev/sda2 swapon /dev/sda2 -head -n -1 /etc/config/fstab > fstab_temp; echo '\toption enable 1' >> fstabt; mv fstab_temp /etc/config/fstab - +mv fstab_extroot /etc/config/fstab echo 'Configuring wireless and hotspot'