busybox: port 'show version' setup to systemd

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-05 20:10:16 +02:00
parent 682041952d
commit a7321ceb20
2 changed files with 14 additions and 0 deletions

View File

@ -90,5 +90,6 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`"
fi
enable_service debug-shell.service
enable_service show-version.service
enable_service var.mount

View File

@ -0,0 +1,13 @@
[Unit]
Description=Show Version
DefaultDependencies=no
Before=local-fs.target
[Service]
Type=oneshot
ExecStart=/usr/bin/lsb_release
RemainAfterExit=yes
StandardOutput=tty
[Install]
WantedBy=sysinit.target