Cài đặt Kodi trên Orange Pi sử dụng LibreELEC
Wireguard
https://wiki.libreelec.tv/configuration/wireguard
rclone
25 mkdir rclone 26 cd rclone 27 wget https://downloads.rclone.org/v1.56.1/rclone-v1.56.1-linux-arm64.zip 28 unzip rclone-v1.56.1-linux-arm64.zip 36 cd /storage/rclone/rclone-v1.56.1-linux-arm64/ 37 mv rclone .. && cd .. 42 ./rclone config 43 history
Những add-on hữu ích
Docker
Youtube
Vietmediaf
LibreELEC
https://discourse.coreelec.org/t/tutorial-scheduled-tasks-in-coreelec/4255
blkid
mount -t ext4 /dev/sda1 /storage/mnt/hdd
Thiết lập crontab để tự động mount ổ cứng
vi /storage/scripts/mount_hdd
#!/bin/sh
@reboot (mount -t ext4 '/dev/sda1' '/storage/mnt/hdd')
'/storage/.config/scripts/guide'
@reboot sh /storage/.config/scripts/mount_hdd
# crontab -e
@reboot mount -t ext4 /dev/sda1 /storage/mnt/hdd
vi /storage/.config/autostart.sh
(
sleep 5
mount -t ext4 '/dev/sda1' '/storage/mnt/hdda'
mount -t ext4 '/dev/sdb1' '/storage/mnt/hddb'
)&
mount -t ext4 ‘/dev/sda1’ ‘/root/gs’
https://wiki.libreelec.tv/configuration/startup-shutdown
vi /storage/.config/shutdown.sh
case "$1" in
halt)
# your commands here
;;
poweroff)
# your commands here
;;
reboot)
# your commands here
mount -t ext4 '/dev/sda1' '/storage/mnt/hdda' && mount -t ext4 '/dev/sdb1' '/storage/mnt/hddb'
;;
*)
# your commands here
;;
esac