mirror of
https://mojerepo.cf/NeoBoot/NeoBoot-9.git
synced 2025-11-02 09:15:48 +01:00
8.15 update mount
This commit is contained in:
@@ -180,7 +180,7 @@ else
|
|||||||
/bin/umount /media/usb > /dev/null 2>&1
|
/bin/umount /media/usb > /dev/null 2>&1
|
||||||
/bin/umount /media/hdd > /dev/null 2>&1
|
/bin/umount /media/hdd > /dev/null 2>&1
|
||||||
/usr/bin/showiframe /usr/share/bootlogo.mvi > /dev/null 2>&1
|
/usr/bin/showiframe /usr/share/bootlogo.mvi > /dev/null 2>&1
|
||||||
sync; ln -sfn /sbin/init.sysvinit /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh
|
ln -sfn /sbin/init.sysvinit /sbin/init
|
||||||
echo "----------------------------------"
|
echo "----------------------------------"
|
||||||
echo " BOOT UP IMAGE FROM FLASH "
|
echo " BOOT UP IMAGE FROM FLASH "
|
||||||
echo "----------------------------------"
|
echo "----------------------------------"
|
||||||
@@ -231,10 +231,7 @@ else
|
|||||||
rm $NEODEVICE$IMAGEKATALOG/$TARGET$NEODEVICE > /dev/null 2>&1
|
rm $NEODEVICE$IMAGEKATALOG/$TARGET$NEODEVICE > /dev/null 2>&1
|
||||||
mkdir $NEODEVICE$IMAGEKATALOG/$TARGET$NEODEVICE > /dev/null 2>&1
|
mkdir $NEODEVICE$IMAGEKATALOG/$TARGET$NEODEVICE > /dev/null 2>&1
|
||||||
|
|
||||||
rm -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
rm -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
||||||
cp -f /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
|
||||||
|
|
||||||
if [ ! -e $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh ]; then
|
|
||||||
orgimag=`mount | sed '/sd/!d' | cut -d" " -f1`
|
orgimag=`mount | sed '/sd/!d' | cut -d" " -f1`
|
||||||
for item in $orgimag; do
|
for item in $orgimag; do
|
||||||
ohdd=`echo $item | cut -d"/" -f3`
|
ohdd=`echo $item | cut -d"/" -f3`
|
||||||
@@ -250,6 +247,8 @@ else
|
|||||||
echo ok
|
echo ok
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if [ ! -e $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh ]; then
|
||||||
|
cp -f /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
||||||
fi
|
fi
|
||||||
chmod 755 `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
chmod 755 `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
||||||
echo "NeoBOOT created the file mount enigma2_pre_start.sh "
|
echo "NeoBOOT created the file mount enigma2_pre_start.sh "
|
||||||
@@ -271,7 +270,7 @@ else
|
|||||||
echo " Back to image Flash... "
|
echo " Back to image Flash... "
|
||||||
|
|
||||||
/usr/bin/showiframe /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/error.mvi > /dev/null 2>&1
|
/usr/bin/showiframe /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/error.mvi > /dev/null 2>&1
|
||||||
sync; ln -sfn /sbin/init.sysvinit /sbin/init
|
ln -sfn /sbin/init.sysvinit /sbin/init
|
||||||
echo "Flash " > `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/.neonextboot
|
echo "Flash " > `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/.neonextboot
|
||||||
echo "Used Kernel: Reinstall kernel !" > `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$UPLOAD/.kernel/used_flash_kernel
|
echo "Used Kernel: Reinstall kernel !" > `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$UPLOAD/.kernel/used_flash_kernel
|
||||||
sleep 15; reboot -f
|
sleep 15; reboot -f
|
||||||
|
|||||||
@@ -212,9 +212,7 @@ else
|
|||||||
mkdir $NEODEVICE$IMAGEKATALOG/$TARGET$NEODEVICE > /dev/null 2>&1
|
mkdir $NEODEVICE$IMAGEKATALOG/$TARGET$NEODEVICE > /dev/null 2>&1
|
||||||
|
|
||||||
rm -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
rm -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
||||||
cp -f /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
|
||||||
|
|
||||||
if [ ! -e $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh ]; then
|
|
||||||
orgimag=`mount | sed '/sd/!d' | cut -d" " -f1`
|
orgimag=`mount | sed '/sd/!d' | cut -d" " -f1`
|
||||||
for item in $orgimag; do
|
for item in $orgimag; do
|
||||||
ohdd=`echo $item | cut -d"/" -f3`
|
ohdd=`echo $item | cut -d"/" -f3`
|
||||||
@@ -230,6 +228,8 @@ else
|
|||||||
echo ok
|
echo ok
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if [ ! -e $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh ]; then
|
||||||
|
cp -f /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
||||||
fi
|
fi
|
||||||
chmod 755 `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
chmod 755 `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
||||||
echo "NeoBOOT created the file mount enigma2_pre_start.sh "
|
echo "NeoBOOT created the file mount enigma2_pre_start.sh "
|
||||||
|
|||||||
@@ -247,8 +247,6 @@ else
|
|||||||
if [ -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh ]; then
|
if [ -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh ]; then
|
||||||
rm -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh > /dev/null 2>&1
|
rm -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp -f /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
|
||||||
|
|
||||||
orgimag=`mount | sed '/sd/!d' | cut -d" " -f1`
|
orgimag=`mount | sed '/sd/!d' | cut -d" " -f1`
|
||||||
for item in $orgimag; do
|
for item in $orgimag; do
|
||||||
@@ -265,7 +263,9 @@ else
|
|||||||
echo ok
|
echo ok
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if [ ! -e $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh ]; then
|
||||||
|
cp -f /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
||||||
|
fi
|
||||||
chmod 755 `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
chmod 755 `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
|
||||||
echo "NeoBOOT created the file mount enigma2_pre_start.sh "
|
echo "NeoBOOT created the file mount enigma2_pre_start.sh "
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user