openwrt/package/base-files/files/sbin
Robert Marko 20d847d133 base-files: upgrade: fix initramfs detection
Commit "initramfs: switch to tmpfs to fix ujail" switched initramfs to
now use tmpfs, it causes $(rootfs_type) to now return tmpfs when
running initramfs image instead of being empty.

This broke initramfs detection which prevents config files from
being saved as it does not work from initramfs.

So, lets test for $(rootfs_type) returning "tmpfs" instead.

Fixes: 7fd3c68 ("initramfs: switch to tmpfs to fix ujail)

Signed-off-by: Robert Marko <robimarko@gmail.com>
2020-12-20 17:14:56 +00:00
..
firstboot base-files: firstboot: pass down arguments such as -y to jffs2reset 2015-03-10 23:43:25 +00:00
hotplug-call base-files: hotplug-call: exit success when dir is absent 2019-10-29 13:28:49 +00:00
led.sh scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00
pkg_check base-files: remove useless cat 2020-07-11 12:52:01 +02:00
sysupgrade base-files: upgrade: fix initramfs detection 2020-12-20 17:14:56 +00:00
wifi base-files: include 'reconf' in help output of 'wifi' command 2019-11-18 12:58:31 +01:00