What about that: for i in $(ls -1 /etc/rc.d); do alias rc-$i="/etc/rc,d/$i"; done That's simple and dynamic, just insert it on your .bashrc ou /etc/bash.bashrc (global) On Tue, Apr 13, 2010 at 4:41 PM, Kazuo Teramoto <kaz.rag@gmail.com> wrote:
On Tue, Apr 13, 2010 at 4:22 PM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Guys,
One thing I miss with Arch are init-script shortcuts for starting and stopping processes. rc-commands really help cut down on typing. For example, all suse did was to create links to the files in /etc/rc.d/... with a naming convention of rc<init script name>. So, for example, instead of having to type:
/etc/rc.d/postfix
the shortcut was simply
rcpostfix
Uhh, I dont use rc.d too much to this be usefull to me but...
I'm thinking about it, creating sym links looks *ugly* to me, because you need to updated it after you remove or add new rc.d.
I think that a much cleaner solution is to create a rename filesystem using FUSE to rename files from /etc/rc.d on the fly. (FUSE is so cool ^_^)
Bye, Kazuo
-- «Dans la vie, rien n'est à craindre, tout est à comprendre» Marie Sklodowska Curie.
-- Flávio Coutinho da Costa