-82083bae2058cfb1d4f8764bfb309e3e inittab
-32f67e5e22c9048054541117be84582f rc
-a9d2ef04be098b44383823090ae57fc8 rc.conf
+d2a8e98a8b10ba09b2a9da34326b526a inittab
+d60fc342d2498974828a276bd5fe902b rc
+c8fe38143dffbbc628a7a33966fae408 rc.conf
5b09d4a67beb58022879fa9ce0f5af1b rc.fix
d1be35927946756c68242f29c16ee983 rc.local
394d5cff98ab59fd1a0ec64fe79292cb rc.modules
# Description: BSD-like init-scripts
# URL: http://crux.nu
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX ARM System Team
+# Arch Maintainer: CRUX ARM System Team, crux-arm at mikeux dot dyndns dot org
# Depends on:
name=rc
-version=2.21
-release=8
+version=2.24
+release=1
source=(inittab rc rc.modules rc.single rc.multi rc.local rc.fix rc.shutdown rc.conf)
build() {
c4:2:respawn:/sbin/agetty 38400 tty4 linux
c5:2:respawn:/sbin/agetty 38400 tty5 linux
c6:2:respawn:/sbin/agetty 38400 tty6 linux
+#s1:2:respawn:/sbin/agetty 38400 ttyS0 vt100
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# /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
/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 /
# 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)
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 keymap
if [ "$KEYMAP" ]; then
echo "keyboard: $KEYMAP"
- /bin/loadkeys -q $KEYMAP
+ /usr/bin/loadkeys -q $KEYMAP
fi
-# Screen blanks after 5 minutes idle time
-/usr/bin/setterm -blank 5
+# Screen blanks after 15 minutes idle time
+/usr/bin/setterm -blank 15
# Run module initialization script
if [ -x /etc/rc.modules ]; then