User:Innsill/omxplayer-starter (amdhf): Difference between revisions
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
tty2::respawn:/sbin/getty 38400 tty2 | tty2::respawn:/sbin/getty 38400 tty2 | ||
#tty3::respawn:/sbin/getty 38400 tty3 </nowiki>}} </br> vi {{c| .profile}} {{cat |/root/.profile |<nowiki>mount /dev/sda1 /mnt | #tty3::respawn:/sbin/getty 38400 tty3 </nowiki>}} </br> vi {{c| .profile}} {{cat |/root/.profile |<nowiki>mount /dev/sda1 /mnt | ||
cd /mnt | |||
VIDEO=$( ls | sort ) | |||
for i in $VIDEO | |||
do | |||
omxplayer $i | |||
done</nowiki>}} </br> lbu include /root/.profile </br> lbu commit | |||
= = | = = | ||
* [https://elinux.org/Omxplayer Omxplayer] eLinux.org | * [https://elinux.org/Omxplayer Omxplayer] eLinux.org | ||
* [https://www.raspberrypi.org/documentation/raspbian/applications/omxplayer.md OMXPlayer: An accelerated command line media player] raspberrypi.org | * [https://www.raspberrypi.org/documentation/raspbian/applications/omxplayer.md OMXPlayer: An accelerated command line media player] raspberrypi.org |
Revision as of 09:58, 13 November 2019
Warning:
Be careful !
Spy backdoors China/Huawei !
https://alpinelinux.org/downloads/- alpine-rpi-3.10.3-armhf.tar.gz
- alpine-rpi-3.10.3-armhf.tar.gz.sha256
- sha256sum --check
alpine-rpi-3.10.3-armhf.tar.gz.sha256
- sha256sum --check
find / -name setup* -print | sort- setup-alpine
omxplayer ?- vi
/etc/apk/repositories
- apk update && apk upgrade
- apk add omxplayer
- vi
vi/etc/inittab
Contents of /etc/inittab
tty1::respawn:/bin/login -f root tty2::respawn:/sbin/getty 38400 tty2 #tty3::respawn:/sbin/getty 38400 tty3
vi.profile
Contents of /root/.profile
mount /dev/sda1 /mnt cd /mnt VIDEO=$( ls | sort ) for i in $VIDEO do omxplayer $i done
lbu include /root/.profile
lbu commit
- Omxplayer eLinux.org
- OMXPlayer: An accelerated command line media player raspberrypi.org