mirror of
https://mojerepo.cf/NeoBoot/NeoBoot-9.git
synced 2025-11-02 04:15:47 +01:00
Delete neo_location
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
IMAGE=ImageBoot
|
|
||||||
NEOBOOTMOUNT=$( cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location)
|
|
||||||
rm -r -f /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neom
|
|
||||||
|
|
||||||
orgimag=`mount | sed '/sd/!d' | cut -d" " -f1`
|
|
||||||
for item in $orgimag; do
|
|
||||||
ohdd=`echo $item | cut -d"/" -f3`
|
|
||||||
nhdd=`mount | sed "/\$ohdd/!d" | sed q | cut -d" " -f3`
|
|
||||||
if [ $nhdd == '$NEOBOOTMOUNT' ]; then
|
|
||||||
echo $nhdd
|
|
||||||
echo "mkdir "$nhdd >> /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neom
|
|
||||||
echo "mount "$item $nhdd >> /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neom
|
|
||||||
else
|
|
||||||
echo "umount "$nhdd >> /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neom
|
|
||||||
echo "mkdir "$nhdd >> /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neom
|
|
||||||
echo "mount "$item $nhdd >> /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neom
|
|
||||||
echo ok
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
chmod 0755 /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neom
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user