I don't know if anyone ever answered your question, but a simple way to
add the path is to create a script file and put it into /etc/init.d. I
have a utility script that does a number of things I want done after
everything else in the boot sequence is done. The script below would do
what you want. Copy it, and save it in /etc/init.d. Backup etc and reboot.
code
------------------------------------------------------------------------
#!/bin/sh
#
# Utility script to add paths
#
RCDLINKS="2,S99 3,S99 4,S99 5,S99
PATH=${PATH}:/opt/mplayer-sound/bin/
export PATH
------------------------------------------------------
Roger
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: leaf-user@lists.sourceforge.net
Date: Fri, 06 May 2005 08:37:32 +0000
Subject: [leaf-user] PATH setting permanently
Hello all
I'm trying to add a permanent PATH to LEAF/BERING Shorewall
I tried to write this:
PATH=${PATH}:/opt/mplayer-sound/bin/
export PATH
into several .conf files including
/etc/profile
/etc/crontab
/etc/shorewall/shorewall.conf
/etc/shorewall/start
but nothing changes whatsoever
echo $PATH gives:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin
Typing as root:
PATH=${PATH}:/opt/mplayer-sound/bin/
I get:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/opt/mplayer-sound/bin/
which is ok.
Please, how can I set it permanently ?
Thanks Roberto
uname -a ---> 2.4.18-guylhem #6 Thu Dec 19 01 51 48 CET 2002 i586 unknown
________________________________________________________________________
Cerchi un laboratorio fotografico aperto 24 ore su 24?
Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore.
http://www.kataweb.it/foto
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html