aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTobias Powalowski <tpowa@archlinux.org>2005-12-12 10:40:15 +0000
committerTobias Powalowski <tpowa@archlinux.org>2005-12-12 10:40:15 +0000
commit675e9d69d02233e0079672f6c10cbe07da3027ad (patch)
tree73af0f43f88f3e4f87d9e3d7545c1361a4310701 /rc.sysinit
parentd768a9c95a254e09a34c39aa86840c01cb6d97dd (diff)
downloadinitscripts-675e9d69d02233e0079672f6c10cbe07da3027ad.tar.xz
'upgpkg: removed unneeded utf stuff, umlauts in user names do not work, you even cannot create them,
added quiet option to filsystem check, fixed garbeled fonts if no framebuffer is used'
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit12
1 files changed, 5 insertions, 7 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 09a1e2a..54397e7 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -119,7 +119,11 @@ FORCEFSCK=
if [ -x /sbin/fsck ]; then
stat_busy "Checking Filesystems"
- /sbin/fsck -A -T -C -a $FORCEFSCK
+ if [ "`cat /proc/cmdline | grep quiet`" ]; then
+ /sbin/fsck -A -T -C -a $FORCEFSCK >/dev/null 2>&1
+ else
+ /sbin/fsck -A -T -C -a $FORCEFSCK
+ fi
if [ $? -gt 1 ]; then
stat_fail
echo
@@ -219,13 +223,7 @@ if [ "$LOCALE" != "" ]; then
stat_busy "Setting Consoles to UTF-8"
/usr/bin/kbd_mode -u
/usr/bin/dumpkeys | /bin/loadkeys --unicode
- for i in `seq 1 12`; do
- echo -ne "\033%G" >/dev/vc/${i}
- done
echo ' echo -ne "\033%G"'>>/etc/profile.d/locale.sh
- if [ "$CONSOLEFONT" = "" ]; then
- CONSOLEFONT="LatArCyrHeb-16"
- fi
stat_done
fi
else