Revert "[package/block-mount] remove example config file"
This isn't needed anymore due to commit 27138 SVN-Revision: 27139
This commit is contained in:
parent
b179722c71
commit
4798e27247
2 changed files with 22 additions and 0 deletions
|
@ -48,6 +48,8 @@ endef
|
||||||
define Package/block-mount/install
|
define Package/block-mount/install
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
$(INSTALL_BIN) ./files/fstab.init $(1)/etc/init.d/fstab
|
$(INSTALL_BIN) ./files/fstab.init $(1)/etc/init.d/fstab
|
||||||
|
$(INSTALL_DIR) $(1)/etc/config
|
||||||
|
$(INSTALL_DATA) ./files/fstab.config $(1)/etc/config/fstab
|
||||||
$(INSTALL_DIR) $(1)/lib/functions/fsck
|
$(INSTALL_DIR) $(1)/lib/functions/fsck
|
||||||
$(INSTALL_DATA) ./files/mount.sh $(1)/lib/functions/
|
$(INSTALL_DATA) ./files/mount.sh $(1)/lib/functions/
|
||||||
$(INSTALL_DATA) ./files/fsck.sh $(1)/lib/functions/
|
$(INSTALL_DATA) ./files/fsck.sh $(1)/lib/functions/
|
||||||
|
|
20
package/block-mount/files/fstab.config
Normal file
20
package/block-mount/files/fstab.config
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
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 /home
|
||||||
|
option device /dev/sda1
|
||||||
|
option fstype ext4
|
||||||
|
option options rw,sync
|
||||||
|
option enabled 0
|
||||||
|
option enabled_fsck 0
|
||||||
|
|
||||||
|
config swap
|
||||||
|
option device /dev/sda2
|
||||||
|
option enabled 0
|
||||||
|
|
Loading…
Reference in a new issue