a guest Jul 21st, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- 1. Install USB device support;
- opkg install kmod-fs-ntfs ntfs-3g kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-storage e2fsprogs fdisk usbutils mount-utils block-mount kmod-fs-ext4 kmod-fs-vfat kmod-nls-utf-8 kmod-nls-cp437 kmod-nls-iso8859-1
- 2. Install ```blkid```, run ```opkg update && opkg install blkid```;
- 3. Copy ```block.sh``` to directory ```/lib/functions```;
- 4. Copy ```10-mount``` and ```20-swap``` to directory ```/etc/hotplug.d/block```;
- 5. That's it! run ```logread -f``` command then plug in a USB stick to test.
RAW Paste Data