CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libgmp: fixed 'Arch Maintainer' line
[crossrootfs.git]
/
rc
/
rc
diff --git
a/rc/rc
b/rc/rc
old mode 100755
(executable)
new mode 100644
(file)
index
f26e95f
..
82518f1
--- a/
rc/rc
+++ b/
rc/rc
@@
-3,7
+3,7
@@
# /etc/rc: system boot script
#
# /etc/rc: system boot script
#
-echo "The system is coming up. Please wait."
+echo "The system is coming up.
Please wait."
# Load configuration
. /etc/rc.conf
# Load configuration
. /etc/rc.conf
@@
-13,6
+13,12
@@
echo "The system is coming up. Please wait."
/bin/mount -n -t sysfs none /sys
/sbin/start_udev
/bin/mount -n -t sysfs none /sys
/sbin/start_udev
+# Create device-mapper device nodes and scan for LVM volume groups
+if [ -x /sbin/lvm ]; then
+ /sbin/vgscan --mknodes --ignorelockingfailure
+ /sbin/vgchange --ignorelockingfailure -a y
+fi
+
# Mount root read-only
/bin/mount -n -o remount,ro /
# Mount root read-only
/bin/mount -n -o remount,ro /
@@
-51,8
+57,7
@@
fi
# Clean up misc files
: > /var/run/utmp
# Clean up misc files
: > /var/run/utmp
-/bin/rm -rf /forcefsck /fastboot /halt /poweroff
-/bin/rm -rf /etc/nologin /etc/shutdownpid
+/bin/rm -rf /forcefsck /fastboot /etc/nologin /etc/shutdownpid
(cd /var/run && /usr/bin/find . -name "*.pid" -delete)
(cd /var/lock && /usr/bin/find . ! -type d -delete)
(cd /tmp && /usr/bin/find . ! -name . -delete)
(cd /var/run && /usr/bin/find . -name "*.pid" -delete)
(cd /var/lock && /usr/bin/find . ! -type d -delete)
(cd /tmp && /usr/bin/find . ! -name . -delete)
@@
-77,7
+82,7
@@
fi
if [ "$TIMEZONE" ]; then
/bin/ln -snf /usr/share/zoneinfo/$TIMEZONE /etc/localtime
fi
if [ "$TIMEZONE" ]; then
/bin/ln -snf /usr/share/zoneinfo/$TIMEZONE /etc/localtime
fi
-
#
/sbin/hwclock --hctosys
+/sbin/hwclock --hctosys
# Load console font
if [ "$FONT" ]; then
# Load console font
if [ "$FONT" ]; then
@@
-88,11
+93,11
@@
fi
# Load console keymap
if [ "$KEYMAP" ]; then
echo "keyboard: $KEYMAP"
# Load console keymap
if [ "$KEYMAP" ]; then
echo "keyboard: $KEYMAP"
- /bin/loadkeys -q $KEYMAP
+ /
usr/
bin/loadkeys -q $KEYMAP
fi
fi
-# Screen blanks after 5 minutes idle time
-/usr/bin/setterm -blank 5
+# Screen blanks after
1
5 minutes idle time
+/usr/bin/setterm -blank
1
5
# Run module initialization script
if [ -x /etc/rc.modules ]; then
# Run module initialization script
if [ -x /etc/rc.modules ]; then