mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-29 15:44:04 +00:00
base-files: get rid of forgotten traces of fitblk_get_bootdev
The function fitblk_get_bootdev doesn't exist any more, using it in export_bootdevice anyway never made much sense and only worked for classic block devices. Just drop /dev/fit* handling there, it isn't needed anywhere. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
11403697c9
commit
74bf11570f
@ -196,7 +196,6 @@ export_bootdevice() {
|
||||
done
|
||||
;;
|
||||
/dev/*)
|
||||
[ "$rootpart" = "/dev/fit0" ] && rootpart="$(fitblk_get_bootdev)"
|
||||
uevent="/sys/class/block/${rootpart##*/}/../uevent"
|
||||
;;
|
||||
0x[a-f0-9][a-f0-9][a-f0-9] | 0x[a-f0-9][a-f0-9][a-f0-9][a-f0-9] | \
|
||||
|
Loading…
x
Reference in New Issue
Block a user