linkpi_firmware_history/rootfs/etc/udev/automount.sh

6 lines
168 B
Bash

#!/bin/sh
/bin/umount /root/usb
/bin/mount -t vfat -o codepage=936,utf8 /dev/sda1 /root/usb
/bin/mount -t ext4 /dev/sda1 /root/usb
/usr/bin/ntfs-3g /dev/sda1 /root/usb