mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
meh manual resize
This commit is contained in:
parent
4a8006aafe
commit
c482afb77f
@ -18,6 +18,15 @@
|
||||
################################################################################
|
||||
|
||||
if [ -e /storage/.please_resize_me ] ; then
|
||||
# this sh** was never intended to be used
|
||||
# on already installed and runing system
|
||||
if [ -d /storage/.kodi -o -d /storage/.config -o -d /storage/.cache ] ; then
|
||||
rm -f /storage/.please_resize_me
|
||||
sync
|
||||
echo "resizing not allowed. rebooting in 15s"
|
||||
sleep 15
|
||||
reboot -f
|
||||
fi
|
||||
# get the disk. /storage on 2nd partition
|
||||
PART=$(grep "/storage " /proc/mounts | cut -d" " -f1 | grep '2$')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user