From d9b5f70719e46ce3331c1fc9078ff05a9040784e Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Thu, 10 Dec 2009 12:02:23 +0100 Subject: [PATCH] rc: updated to upstream 2.24 --- rc/.md5sum | 6 +++--- rc/Pkgfile | 6 +++--- rc/inittab | 1 + rc/rc | 19 ++++++++++++------- rc/rc#2.24-1.pkg.tar.gz | Bin 0 -> 2724 bytes rc/rc.conf | 4 ++-- rc/rc.fix | 0 rc/rc.local | 0 rc/rc.modules | 0 rc/rc.multi | 0 rc/rc.single | 0 11 files changed, 21 insertions(+), 15 deletions(-) mode change 100755 => 100644 rc/rc create mode 100644 rc/rc#2.24-1.pkg.tar.gz mode change 100755 => 100644 rc/rc.fix mode change 100755 => 100644 rc/rc.local mode change 100755 => 100644 rc/rc.modules mode change 100755 => 100644 rc/rc.multi mode change 100755 => 100644 rc/rc.single diff --git a/rc/.md5sum b/rc/.md5sum index 62af0e2..8322fcc 100644 --- a/rc/.md5sum +++ b/rc/.md5sum @@ -1,6 +1,6 @@ -82083bae2058cfb1d4f8764bfb309e3e inittab -32f67e5e22c9048054541117be84582f rc -a9d2ef04be098b44383823090ae57fc8 rc.conf +d2a8e98a8b10ba09b2a9da34326b526a inittab +d60fc342d2498974828a276bd5fe902b rc +c8fe38143dffbbc628a7a33966fae408 rc.conf 5b09d4a67beb58022879fa9ce0f5af1b rc.fix d1be35927946756c68242f29c16ee983 rc.local 394d5cff98ab59fd1a0ec64fe79292cb rc.modules diff --git a/rc/Pkgfile b/rc/Pkgfile index 240a6fa..5cdebab 100644 --- a/rc/Pkgfile +++ b/rc/Pkgfile @@ -1,12 +1,12 @@ # 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() { diff --git a/rc/inittab b/rc/inittab index 0cffa2a..ba613fd 100644 --- a/rc/inittab +++ b/rc/inittab @@ -23,6 +23,7 @@ c3:2:respawn:/sbin/agetty 38400 tty3 linux 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 diff --git a/rc/rc b/rc/rc old mode 100755 new mode 100644 index f26e95f..82518f1 --- a/rc/rc +++ b/rc/rc @@ -3,7 +3,7 @@ # /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 @@ -13,6 +13,12 @@ echo "The system is coming up. Please wait." /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 / @@ -51,8 +57,7 @@ fi # 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) @@ -77,7 +82,7 @@ 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 @@ -88,11 +93,11 @@ fi # 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 diff --git a/rc/rc#2.24-1.pkg.tar.gz b/rc/rc#2.24-1.pkg.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..fb12cba143617813b3421034b077d5fd7a55e74e GIT binary patch literal 2724 zcmV;V3S0FbiwFP{)gVg%1MM7ZbKAzzUx{C_rZgE_QxF6nQp=3eYE-)RL=TTBJ9RxC z=L8(dt3ZIogOr@~zjyZzM?6THkz+Ddf}L?h-tFBUc5k0phR2TeWXsS*IO=xgUxe~s z`PsJHcGK>*I<5ATrrm7YM^B);?Sl~{QOrVsCt(o8pTpZU|44zO{6nYVZu1g6T>iG* z=~nXJ1(5uOFXEWpY>fs9_^{JiCx5%uY?bAIc!>Jn+}eq9@CTRwp0Nj3?h^DMx{qQ$ zfiUqsKI0y^JaR%YjYZ%adj_Ikr87|vzd*D0l6f(GvY!o}*9O8LdE87Q9@1E=cAj{# zSbT4r-P%PE1Aceu`(f>h-ymlVL%6+Gj}GDTA;UF2!w8*T4^KmbJxduXBaC_jyEkXq zP$QBgjc|e+6ecD_+6diV^RTpHoWyQ0_l+p&4brLTM)+2gc)>{cU``Fgv2nkUM^iTU z(`h#1aeNQ$KX;l@n;y@;~Q72753z&--{!omPkVz-f&_o(EPDle30r~`&&kT8*Ns#z4m}E6z z8U_xU4WENWAD0pEAj2rdz|Tf%cxcOya!Vv|8gdqMbY(N)aC5?@Qy!+@a3y*;U}%vd zhxsrJLO6SS4zs{ZCLBg#kW3>(4Bkr-yuKVY3 z`m%reJ-j%-{2$+xgX;;l8M~SINgBj1#?TAh*Ti+P!PTQDeu8bk<7tb`#3)!x8XiWfZqvq z-U$E(Ktw)aW-1mf7RyM6JDb6`snjGwQ?s;EM{cqqB)ytJBS|x zpA?;p0_u*Bh8iX!a?~>!J@^i+84E28_^l+KOtYhgcvdur4wpv58nP&soRUZN10^B( zMTdD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