I guess third time's the charm???  I setup a new vm and setup from the same
image.  This time it only asked once.

-Bryan Anderson



On Thu, Jul 26, 2012 at 12:56 PM, Douglas Hubler <[email protected]> wrote:

> On Thu, Jul 26, 2012 at 2:52 PM, Bryan Anderson <[email protected]>wrote:
>
>> Is the /usr/bin/sipxecs-setup supposed to run the first *two* times you
>> log into the system?
>
>
> If sipxecs-setup is successful, it removes itself from /root/.bashrc which
> is called upon login.  The code to remove itself is also in ~/.bashrc.
>
> cat >> /root/.bashrc <<EOF
>
> /usr/bin/sipxecs-setup
> # restore /root/.bashrc and /etc/issue to original states upon successful
> # setup.
> if [ $? == 0 ]; then
>   sed -i '/^\/usr\/bin\/sipxecs-setup$/,//d' /root/.bashrc
>   sed -i '/^====/,//d' /etc/issue
> fi
> EOF
>
>
> It's always worked for me, but it always works for the developer.  If you
> see anything that would make this not work on you machine, maybe we can fix
> this.
>
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
>
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to