Browse Source

reverted to previous fstab_extroot solution

master
Roel 9 years ago
parent
commit
5e0fd9c935
  1. 21
      lazyinstall/fstab_extroot
  2. 3
      lazyinstall/lazyinstall2.sh

21
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

3
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'

Loading…
Cancel
Save