Sponsored Content
Full Discussion: rc3.d - source: not found
Operating Systems Solaris rc3.d - source: not found Post 302174433 by Tex-Twil on Tuesday 11th of March 2008 06:02:58 AM
Old 03-11-2008
rc3.d - source: not found

Hello,
I have troubles with running a service at the boot of Solaris 9. I have a link in /etc/rc3.d/ to my script which I want to run. :
Code:
/etc/rc3.d/S90myService

In this script, I fist "source" an config file to get some environments values
Code:
#!/bin/bash
...
source /my/dir/myenv 
...

But this seems to fail. This is the log during the boot:
Code:
/etc/rc3.d/S90myService: source: not found

It looks like the system is using sh instead of bash !

Any ideas about this problem ?

Thanks in advance,
regards,
Tex

Last edited by Tex-Twil; 03-11-2008 at 08:16 AM..
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies

2. Debian

Kernel source not found. (can't install network card drivers)

I've had no luck with help on linuxquestions so I figured I'd try here. I'm using debian etch. The problem is that I can not install my network card because it says: Makefile:62: *** Linux kernel source not found. Stop. I have the kernel-headers installed. I've looked all over the... (9 Replies)
Discussion started by: Virtuality
9 Replies

3. HP-UX

bash...Not found through where(compiling source file)

Hi i have compiled and installed bash 3.2 on my hp-ux parisc its in path /usr/local/pkg/bash/bin/bash .....When im search for this bash (through whereis bash) im not findind but other which i hve done in same procedure( gettext,m4) ..Im able to find through whereis search option can any1... (3 Replies)
Discussion started by: vasanthan
3 Replies

4. OS X (Apple)

[Solved] links2 --enable-graphics from source, configure error: no graphics driver found.

Howdy I am trying to install links2 with graphics support on snow leopard 10.6.8 (xcode installed). I have had the program running last year, also installed from source - but then I had installed some image libraries with mac ports and fink - cannot reproduce that setup. Plus I would like to not... (6 Replies)
Discussion started by: butterbaerchen
6 Replies
All times are GMT -4. The time now is 03:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy