Skip to content
Snippets Groups Projects
Commit 76ff1269 authored by Sjoerd Simons's avatar Sjoerd Simons
Browse files

Add a more usable user shell


Dash is great as a system shell, but it's pretty horrible as a user
shell as there is no tab completion or history. There are things that
the busybox ash applet does provide making it a lot more pleasant to
use, while only less then 500 kilobytes to the ospack.

As an added benefit this gives easy acces to the wget/nc/ip busybox
applets.

Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
parent 4714263d
No related branches found
No related tags found
1 merge request!19Add a more usable user shell
......@@ -68,6 +68,7 @@ actions:
- action: apt
description: "Base packages"
packages:
- busybox
- busybox-initramfs
- dbus-user-session
......
......@@ -13,4 +13,9 @@ if [ -x /bin/bash ]; then
chsh --shell /bin/bash user
echo "I: set root shell to /bin/bash"
chsh --shell /bin/bash
elif [ -x /bin/ash ]; then
echo "I: set user shell to /bin/ash"
chsh --shell /bin/ash user
echo "I: set root shell to /bin/ash"
chsh --shell /bin/ash
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment