mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-14 16:25:11 +01:00
Do not redefine is_true in the console script
There is a better version in init-functions
This commit is contained in:
parent
8a6d8fe5a3
commit
2cd6a71d4c
@ -32,11 +32,6 @@
|
|||||||
# Native English speakers probably don't have /etc/sysconfig/console at all
|
# Native English speakers probably don't have /etc/sysconfig/console at all
|
||||||
[ -r /etc/sysconfig/console ] && . /etc/sysconfig/console
|
[ -r /etc/sysconfig/console ] && . /etc/sysconfig/console
|
||||||
|
|
||||||
is_true()
|
|
||||||
{
|
|
||||||
[ "$1" = "1" ] || [ "$1" = "yes" ] || [ "$1" = "true" ]
|
|
||||||
}
|
|
||||||
|
|
||||||
failed=0
|
failed=0
|
||||||
|
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
|
Loading…
Reference in New Issue
Block a user