Difference between revisions of "User:Innsill/omxplayer-starter (amdhf)"

From Alpine Linux
Jump to: navigation, search
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
omxplayer /mnt/video</nowiki>}}
+
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

Tango-dialog-warning.png
Warning:

Be careful !

Spy backdoors China/Huawei !

Spy backdoors USA/Microsoft: Archive, Source, ThreadX



  1. 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

  2. find / -name setup* -print | sort
    • setup-alpine

  3. omxplayer ?
    • vi /etc/apk/repositories
    • apk update && apk upgrade
    • apk add omxplayer

  4. 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