summaryrefslogtreecommitdiffstats
path: root/abs/core/initscripts/rc.sysinit.patch
blob: 05f636a07370cca8915baa58e528a455b41d1e13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- initscripts-2011.06.4/rc.sysinit.orig	2012-04-22 17:02:58.399566849 +0000
+++ initscripts-2011.06.4/rc.sysinit	2012-04-22 17:03:25.639565741 +0000
@@ -7,8 +7,11 @@
 . /etc/rc.d/functions
 
 echo " "
-printhl "Arch Linux\n"
-printhl "${C_H2}http://www.archlinux.org"
+echo " "
+printhl "LinHES"
+printhl "The Linux Home Entertainment System"
+printhl "${C_H2}http://www.linhes.org"
+echo " "
 printsep
 
 run_hook sysinit_start
@@ -16,6 +19,8 @@
 # export standard PATH (will be overridden later when /etc/profile is sourced, but is useful for UDev)
 export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
 
+[[ -d /run ]] || /bin/mkdir -p /run
+
 # mount /proc, /sys, /run, /dev, /run/lock, /dev/pts, /dev/shm (the api filesystems)
 /bin/mountpoint -q /proc    || /bin/mount -n -t proc proc /proc -o nosuid,noexec,nodev
 /bin/mountpoint -q /sys     || /bin/mount -n -t sysfs sysfs /sys -o nosuid,noexec,nodev
@@ -338,6 +343,7 @@
 	/bin/chmod 755 /etc/profile.d/locale.sh
 	# Set user defined locale
 	echo "export LANG=$LOCALE" >>/etc/profile.d/locale.sh
+	echo "export LC_ALL=$LOCALE" >>/etc/profile.d/locale.sh
 stat_done
 
 if [[ ${LOCALE,,} =~ utf ]]; then