From 4de8728e525bf3e918cbc9ee5be17e4ea1581c51 Mon Sep 17 00:00:00 2001 From: gutosie Date: Mon, 11 May 2020 17:51:38 +0300 Subject: [PATCH] Delete neo_location --- NeoBoot/files/neo_location | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 NeoBoot/files/neo_location diff --git a/NeoBoot/files/neo_location b/NeoBoot/files/neo_location deleted file mode 100644 index 749d51b..0000000 --- a/NeoBoot/files/neo_location +++ /dev/null @@ -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 - \ No newline at end of file