reverted to previous fstab_extroot solution

This commit is contained in:
Roel 2015-04-15 15:44:24 +02:00
parent 3c71c68d70
commit 5e0fd9c935
2 changed files with 22 additions and 2 deletions

21
lazyinstall/fstab_extroot Normal file
View File

@ -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

View File

@ -8,8 +8,7 @@ echo 'You should review the settings of "wireless" and "network"'
mkswap /dev/sda2 mkswap /dev/sda2
swapon /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' echo 'Configuring wireless and hotspot'