DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-12-11 17:10:11

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Busybox shell configurable?

Hi,

I've installed fonz' fun_plug 0.4test on my newly arrived CH3SNAS device, and it's working great.
I've been looking for info on how to change the configuration of the busybox shell though.
Particularly, I would like the shells auto-complete feature (TAB button) to ignore case.

To make this work in a normal bash, you simply add "set completion-ignore-case On" to the .inputrc file

I've tried the same with the busybox version, and added a 'export INPUTRC=/mnt/HD_a2/inputrc'
but it seems the file is not read.

Does anyone know if A) this is even possible, B) what option has to be set and C) where the shell looks for config files?


Furthermore, I'd like to set an alias for 'ls' to always list files/dirs in long mode. Again, I tried adding a call to "alias" to the inputrc file and /etc/profile, but it's not respected.

Thanks in advance.

Offline

 

#2 2007-12-11 17:29:12

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Busybox shell configurable?

It reads /mnt/HD_a2/fun_plug.d/etc/profile and (not 100% sure) $HOME/.profile
alias works, but I don't think there's a configurable auto-completion.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB