diff options
author | Karel Kočí <cynerd@email.cz> | 2021-01-19 13:19:38 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-01-19 13:20:24 +0100 |
commit | b949c727fab509e1650563b2fcce9c0a6c5548ff (patch) | |
tree | 8d234655a6d6f1204790a21061c4612db7d54da9 /mount-data/files | |
parent | 0ecd65eab91e6c796cd4a0aa5364349518cbfa19 (diff) | |
download | openwrt-personal-pkgs-b949c727fab509e1650563b2fcce9c0a6c5548ff.tar.gz openwrt-personal-pkgs-b949c727fab509e1650563b2fcce9c0a6c5548ff.tar.bz2 openwrt-personal-pkgs-b949c727fab509e1650563b2fcce9c0a6c5548ff.zip |
mount-data: scan btrfs filesystems after open
Diffstat (limited to 'mount-data/files')
-rwxr-xr-x | mount-data/files/init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mount-data/files/init b/mount-data/files/init index c9706f5..700ea40 100755 --- a/mount-data/files/init +++ b/mount-data/files/init @@ -37,6 +37,7 @@ status() { start() { is_open a || open a /dev/sda is_open b || open b /dev/sdb + btrfs device scan /dev/mapper/data_a /dev/mapper/data_b is_mounted "/data" || mount_btrfs @data /data is_mounted "/srv" || mount_btrfs @srv /srv } |