MNT="/mnt/runtime/default/"
FILENAME="/system/etc/drives"
blkid | grep ntfs | cut -d : -f 1 > $FILENAME
echo "BlissOS_NTFS: Mounting blocks: $BLOCK"
LABEL="$( blkid -s LABEL $BLOCK | cut -d : -f 2 | cut -d '"' -f 2 )"
mount.ntfs $BLOCK /mnt/"$LABEL"
mount_drives >/dev/null 2>&1
echo "All NTFS partitions / drivers mounted at $MNT" && echo
echo "Making some arrangements so that all NTFS partitions could be mounted at boot" && clear
mv $(pwd)/mountfs /system/etc/init.d/
chmod 777 /system/etc/init.d/mountfs
echo "(R) Reboot (E) Exit" && echo
read -n 1 -p "Choose any option :- " X
echo "Rebooting" && sleep 2
chvt 7 && sleep 2 && reboot
echo "Exiting" && sleep 2