From: Aaron L. <le...@th...> - 2002-02-25 19:38:00
|
Hmm... I tried to alias some commands in last but that did not work. According to the readme in the directory, it says that it executes last before it starts up the shell. Is it possible to set up a prompt and alias some commands for bash automatically? Or am I stuck? Thanks, -Aaron On Mon, 25 Feb 2002, Matthew Franz wrote: > > I had a question about how to do something though. I haven't poked around > > enough to figure out how to do this so I figured I would ask you guys. > > > > I want to be able to run a bunch of scripts after login and I was > > wondering how I would be able to do that. Is there a login script that I > > can modify to get it to work? > > > > I also noticed that the /etc/profile script was meant for ash and not > > bash. If I modify the /etc/profile and use savecfg will that save the > > settings for me? > > > > The profile .bashrc stuff is "weird" due to some busybox issues. The > easiest way to do what you want to do is modify the scripts in > /etc/tux/init/ (which are on /tux/init/ on the boot floppy) which allow > custom commands to be executed at various stages of the linuxrc. > > /tux/init/last will get executed at the end and should work > > - mdf > > |