initrd.d: move is_livecd() back to 00-common.sh to avoid circular deps

master
Fabio Erculiani 12 years ago
parent 0308b18e1e
commit 4fad24c756

@ -5,6 +5,11 @@ is_nfs() {
return 1 return 1
} }
is_livecd() {
[ "${CDROOT}" = "1" ] && return 0
return 1
}
good_msg() { good_msg() {
[ -n "${QUIET}" ] && [ -z "${DEBUG}" ] && return 0 [ -n "${QUIET}" ] && [ -z "${DEBUG}" ] && return 0

@ -268,11 +268,6 @@ _livecd_mount_copy_content() {
mount --bind "${CDROOT_PATH}" "${new_cdroot}" mount --bind "${CDROOT_PATH}" "${new_cdroot}"
} }
is_livecd() {
[ "${CDROOT}" = "1" ] && return 0
return 1
}
media_find() { media_find() {
# $1 = mount dir name / media name # $1 = mount dir name / media name
# $2 = recognition file # $2 = recognition file

Loading…
Cancel
Save