2f30.org website
git clone git://git.2f30.org/divzeroweb
Log | Files | Refs | README | LICENSE

commit ed2dfc24618c337e81483461902119367affb290
parent 7c6b2a4ea666b365c01ecd0a20c0326f28be65d9
Author: lostd <lostd@2f30.org>
Date:   Mon, 24 Nov 2014 16:28:22 +0200

This is not a valid shell, do it manually

Mguides/rpi-tv.md | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/guides/rpi-tv.md b/guides/rpi-tv.md @@ -121,7 +121,7 @@ the stream to our running `mpd` queue. We'll see the Create a local user, let's say `tv`: - $ useradd -m -g users -G audio,video -s tv-shell tv + $ useradd -m -g users -G audio,video tv Create the `tv-shell` script in `~tv/bin/`: @@ -131,6 +131,8 @@ Create the `tv-shell` script in `~tv/bin/`: cd $HOME noice menu/ +Make this script the default shell for user `tv` by editing `/etc/passwd`. + And the menu will be the directory structure we will be navigating into using the remote control. The last part is to auto-login the `tv` user, and can be done with an init script like this.