~alpine/devel

[alpine-devel] openrc and env variables

Harry Lachanas <grharry@freemail.gr>
Details
Message ID
<4E9AF7B1.50200@freemail.gr>
Sender timestamp
1318778801
DKIM signature
missing
Download raw message
For reasons of simplicity I am trying to export some ENV vars at boot 
time to openrc
and therefore to /etc/init.d/... scripts

For instance I've added to  /etc/rc.conf

export LOCIF=vpnbr0
rc_env_allow="LOCIF"

and
in
/etc/conf.d/dhcpd
DHCPD_IFACE="$LOCIF"

I 've also supplied my "wished they where avail env vars list"

in /etc/profile.d/i_would_like_these_vars.sh

with no luck  at all ....

anybody  with similar problem or thought???

Thanks
Harry




---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)