thanks you ... where is the script ?
I got one from your github but I have lot of errors ?
Which I don't understand
root@DietPi:~# sh nand-sata-install.sh
nand-sata-install.sh: 15: nand-sata-install.sh: [[: not found
nand-sata-install.sh: 24: nand-sata-install.sh: [[: not found
nand-sata-install.sh: 37: nand-sata-install.sh: [[: not found
nand-sata-install.sh: 42: nand-sata-install.sh: declare: not found
nand-sata-install.sh: 43: nand-sata-install.sh: mkopts[ext2]=-qF: not found
nand-sata-install.sh: 44: nand-sata-install.sh: mkopts[ext3]=-qF: not found
nand-sata-install.sh: 45: nand-sata-install.sh: mkopts[ext4]=-qF: not found
nand-sata-install.sh: 46: nand-sata-install.sh: mkopts[btrfs]=-f: not found
nand-sata-install.sh: 48: nand-sata-install.sh: mountopts[ext2]=defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1: not found
nand-sata-install.sh: 49: nand-sata-install.sh: mountopts[ext3]=defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1: not found
nand-sata-install.sh: 50: nand-sata-install.sh: mountopts[ext4]=defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1: not found
nand-sata-install.sh: 51: nand-sata-install.sh: mountopts[btrfs]=defaults,noatime,nodiratime,compress=lzo 0 2: not found
nand-sata-install.sh: 315: nand-sata-install.sh: Syntax error: "(" unexpected (expecting "}")