Registered users coming from the old forum: in case your password isn't accepted, you can bypass this by requesting a new one: https://www.oesf.org/forum/index.php?topic=36310.0
I want to change the colour of the directories when displayed by ls in a bash script. I tried generating the values for LS_COLORS and exported the env but it doesn't have any effect. Also, there is no DIR_COLORS file under /etcI compiled dircolors so I got the right colour string, but it doesn't appear to be working. What else do I need?[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
QuoteI want to change the colour of the directories when displayed by ls in a bash script. I tried generating the values for LS_COLORS and exported the env but it doesn't have any effect. Also, there is no DIR_COLORS file under /etcI compiled dircolors so I got the right colour string, but it doesn't appear to be working. What else do I need?[div align=\"right\"][{POST_SNAPBACK}][/a][/div]I'm using Bundabrg's pdaxrom-patchlist ipk, which does all this stuff. I've never looked at the contents, but it all works:[a href=\"http://www.worldguard.com.au/projects/zaurus/pdaxrom/current/cookpot/]http://www.worldguard.com.au/projects/zaur...urrent/cookpot/[/url][div align=\"right\"][a href=\"index.php?act=findpost&pid=148765\"][{POST_SNAPBACK}][/a][/div]
thanks. I figured it out. the ls in busybox doesn't support LS_COLORS. I compiled my own copy of ls from the coreutils sources and all works [div align=\"right\"][a href=\"index.php?act=findpost&pid=148767\"][{POST_SNAPBACK}][/a][/div]