Date: Sun, 03 Mar 2002 16:04:41 -0600 From: Server Admin <admin@sage-one.net> To: ScaryG <freymann@scaryg.shacknet.nu> Cc: freebsd-questions@freebsd.org Subject: Re: Help needed with UPS startup script Message-ID: <3.0.5.32.20020303160441.011ce1b8@mail.sage-one.net> In-Reply-To: <20020303165705.4a736183.freymann@scaryg.shacknet.nu> References: <3.0.5.32.20020303145703.011a8260@mail.sage-one.net> <3.0.5.32.20020303145703.011a8260@mail.sage-one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks! That was it... I had merely launched the script from the command line incorrectly.... At 04:57 PM 3.3.2002 -0500, ScaryG wrote: >On Sun, 03 Mar 2002 14:57:03 -0600 >Server Admin <admin@sage-one.net> wrote: > >> everything else (I think) running online fine, EXCEPT the >> "/usr/local/etc/rc.d/apcupsd.sh" boot startup script. The script dies at >> the beginning because it "Cannot determine the PREFIX" ...figured path >> is wrong and is for Linux structure. > > Were you trying to "test" the script from the command prompt? by being in >the /usr/local/etc/rc.d directory and typing ./apcupsd.sh ? > > The "Cannot determine the PREFIX" error will pop up if you do this. > > To test the script, you must use the full path > >/usr/local/etc/rc.d/apcupsd.sh start > > Now it can determine the prefix. > > Hopefuly you can recover the script in its original form (before you >edited it). I would suggest you retrieve the original. > >Gerry - >Web/Domain Hosting -- Primary/Secondary DNS Services >at http://www.interpool.ca > > .... our website: http://www.sage-one.net/ Best regards, Jack L. Stone Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020303160441.011ce1b8>