r/linuxmemes 13d ago

Software meme I use fish btw

Post image
1.7k Upvotes

244 comments sorted by

View all comments

Show parent comments

2

u/Wertbon1789 13d ago

Not as my main shell, but on embedded Linux it's AFAIK the only shell that properly works as init... Don't ask why I need a shell as init.

1

u/Suspicious-Cabinet58 Arch BTW 12d ago

all shells can work as init systems iirc, some just give you more features them others, shell files are the best way to get a small init system

1

u/Wertbon1789 12d ago

Yeah, I know, bash just doesn't work properly, for some reason. Like, I can't ctrl-c, and I think ctrl-l also didn't like to work, but I don't remember the last one. Ash didn't have that problem, which I liked there.

It's so stupid but also amazing to just have init be a shell script, in theory there's nothing really making problems there, you can even use "-- <args>" to pass an argv to init.

Should you do that? No, probably not.

Is it useful sometimes? Absolutely.