runscript: simplify livecd-functions.sh loading
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
0e4d169a40
commit
95adeb85ba
@ -49,8 +49,7 @@ sourcex "@SYSCONFDIR@/init.d/functions.sh"
|
|||||||
sourcex "@LIBEXECDIR@/sh/rc-functions.sh"
|
sourcex "@LIBEXECDIR@/sh/rc-functions.sh"
|
||||||
|
|
||||||
# Support LiveCD foo
|
# Support LiveCD foo
|
||||||
if [ -r /sbin/livecd-functions.sh ]; then
|
if sourcex -e "/sbin/livecd-functions.sh"; then
|
||||||
sourcex "/sbin/livecd-functions.sh"
|
|
||||||
livecd_read_commandline
|
livecd_read_commandline
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user