[BusyBox] Running scripts after init

Ian Latter Ian.Latter at mq.edu.au
Thu Apr 15 07:33:14 UTC 2004


I played with this (I'd forgotten this stuff from my pure sysadmin
days)  ... Busybox's ash calls /etc/profile (as it should) -- have 
your fun from there.


----- Original Message -----
>From: "Rudolf Ladyzhenskii" <Rudolf.ladyzhenskii at opennw.com>
>To: <busybox at mail.codepoet.org>
>Subject:  [BusyBox] Running scripts after init
>Date: Thu, 15 Apr 2004 15:35:05 +1000
>
> Hi, all
> 
> I am a bit lost.
> I run BusyBox without any login. How do I run my own script, something like .bashrc? I 
tried to run my script as a last step in initialisation script, but this did not work. I need to run it 
after init finishes, as my script changes PATH variable and at the moment it gets overwriten 
by whatever init does.
> 
> Thanks,
> /*******************************************************/
> Rudolf Ladyzhenskii
> Senior Design Engineer
> Open Networks Pty. Ltd.
> Level 26, 35 Collins Street,
> Melbourne VIC 3000
> e-mail: rudolfl.ladyzhenskii at opennw.com
> phone: +61 3 9656 5107
> fax:     +61 3 9656 5122
> web: www.opennw.com
> /*******************************************************/
> 
> 
> _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox
> 

--
Ian Latter
Internet and Networking Security Officer
Macquarie University




More information about the busybox mailing list