forked from hummypkg/webif
Remove buybox package dependencies
This commit is contained in:
parent
d7c15163e1
commit
536b1977b1
|
@ -107,7 +107,12 @@ killall udhcpc
|
|||
|
||||
# Unmount disks
|
||||
/bin/sync
|
||||
mount | grep '^/dev/sd' | awk '{print $1}' | xargs umount -l
|
||||
mount | grep '^/dev/sd' |
|
||||
{ lastdev=
|
||||
while read -r dev _; do
|
||||
[ "${lastdev:-}" = "$dev" ] && continue
|
||||
umount -l "$dev"; lastdev=$dev
|
||||
done; }
|
||||
|
||||
# Stop device
|
||||
for f in /sys/block/sd?; do
|
||||
|
|
Loading…
Reference in New Issue