Lines 5-12
Link Here
|
5 |
# We need to source /etc/profile for stuff like $LANG to work |
5 |
# We need to source /etc/profile for stuff like $LANG to work |
6 |
# bug #10190. |
6 |
# bug #10190. |
7 |
. /etc/profile |
7 |
. /etc/profile |
8 |
|
8 |
if [ -f /etc/init.d/functions.sh ]; then |
9 |
. /etc/init.d/functions.sh |
9 |
. /etc/init.d/functions.sh |
|
|
10 |
else |
11 |
echo "Only available on openrc" |
12 |
exit 0 |
13 |
fi |
10 |
|
14 |
|
11 |
# baselayout-1 compat |
15 |
# baselayout-1 compat |
12 |
if ! type get_options >/dev/null 2>/dev/null ; then |
16 |
if ! type get_options >/dev/null 2>/dev/null ; then |