reverted to previous fstab_extroot solution
This commit is contained in:
parent
3c71c68d70
commit
5e0fd9c935
21
lazyinstall/fstab_extroot
Normal file
21
lazyinstall/fstab_extroot
Normal 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
|
@ -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…
Reference in New Issue
Block a user