Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
initrd
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
initrd
Commits
336348bd
Kaydet (Commit)
336348bd
authored
May 13, 2020
tarafından
Ali Rıza KESKİN
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
dil sorunu çözülÃdü
üst
da7bc735
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
99-config.sh
src/addons/99-config.sh
+0
-1
common.sh
src/common.sh
+9
-1
No files found.
src/addons/99-config.sh
Dosyayı görüntüle @
336348bd
...
@@ -4,7 +4,6 @@ mkdir -p ${WORKDIR}/etc
...
@@ -4,7 +4,6 @@ mkdir -p ${WORKDIR}/etc
if
[
-f
$CONFIG
]
;
then
if
[
-f
$CONFIG
]
;
then
cat
${
CONFIG
}
>
${
WORKDIR
}
/etc/initrd.conf
cat
${
CONFIG
}
>
${
WORKDIR
}
/etc/initrd.conf
else
else
echo
"LANG=
$LANG
"
>
${
WORKDIR
}
/etc/initrd.conf
echo
"debug=
$debug
"
>>
${
WORKDIR
}
/etc/initrd.conf
echo
"debug=
$debug
"
>>
${
WORKDIR
}
/etc/initrd.conf
echo
"nocolor=
$nocolor
"
>>
${
WORKDIR
}
/etc/initrd.conf
echo
"nocolor=
$nocolor
"
>>
${
WORKDIR
}
/etc/initrd.conf
fi
fi
src/common.sh
Dosyayı görüntüle @
336348bd
...
@@ -9,7 +9,15 @@ if [ -t 0 ] && [ "$nocolor" != "true" ] ;then
...
@@ -9,7 +9,15 @@ if [ -t 0 ] && [ "$nocolor" != "true" ] ;then
C_WHITE
=
'\e[1;37m'
C_WHITE
=
'\e[1;37m'
C_CLEAR
=
'\e[m'
C_CLEAR
=
'\e[m'
fi
fi
[
"
$LANG
"
==
""
]
&&
LANG
=
"C"
if
[
"
$LANG
"
==
""
]
;
then
if
[
-f
/proc/cmdline
]
;
then
LANG
=
$(
cat
/proc/cmdline |
sed
"s/ /
\n
/g"
|
grep
LANG |
sed
"s/^LANG=//g"
)
[
"
$LANG
"
==
""
]
&&
LANG
=
"C"
else
LANG
=
"C"
fi
fi
echo
$LANG
[
"
${
CPIO_COMPRESS
}
"
==
""
]
&&
CPIO_COMPRESS
=
cat
[
"
${
CPIO_COMPRESS
}
"
==
""
]
&&
CPIO_COMPRESS
=
cat
LANGFILE
=
${
LANGDIR
}
/
$(
echo
$LANG
)
.txt
LANGFILE
=
${
LANGDIR
}
/
$(
echo
$LANG
)
.txt
msg
()
{
msg
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment