rescueOS/rescueOS/mass-storage-enable.sh

8 lines
160 B
Bash
Executable File

#!/bin/bash
rmmod g_nokia
nodenr=$(cat /run/internal_nodenr)
modprobe g_file_storage file=/dev/mmcblk"$nodenr"p2,/dev/mmcblk"$nodenr"p1 stall=0 removable=1