- Timestamp:
- Mar 17, 2010, 3:55:16 AM (15 years ago)
- Location:
- branches/2.2.10/mindi
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/deplist.d/minimal.conf
r2592 r2594 68 68 /etc/termcap 69 69 /etc/bashrc 70 # For id resolution 71 /etc/nsswitch.conf 72 /lib/libnss_files.so.2 70 73 71 74 # Compression -
branches/2.2.10/mindi/rootfs/etc/group
r1733 r2594 24 24 fuse::106: 25 25 nogroup::65534: 26 cdwriter:x:80:saned 27 video:x:82: 28 dialout:x:83: -
branches/2.2.10/mindi/rootfs/sbin/ide-opt
r2488 r2594 1 1 #!/bin/sh 2 2 3 #echo "Optimize access to IDE drives? (Type 'YES' or just press <enter>)" 4 #echo "Warning - this can result in filesystem corruption." 5 #read response 6 #if [ "$response" = "YES" ] || [ "$response" = "yes" ] ; then 7 > /tmp/oid.log 8 echo -e -n "Optimizing IDE drive access..." 3 > /tmp/oid.log 4 echo -e -n "Optimizing IDE drive access..." 9 5 10 cdrom_lives_here=`cat $MINDI_CACHE/CDROM-LIVES-HERE`11 6 cdrom_lives_here=`cat $MINDI_CACHE/CDROM-LIVES-HERE 2> /dev/null` 7 if [ "$?" -ne "0" ] ; then 12 8 echo "I don't know where the CDROM lives. Optimization cancelled." 13 9 exit 1 14 10 fi 15 11 16 12 for dev in hda hdb hdc hdd hde hdf hdg hdh ; do 17 13 echo " " > /tmp/oid1.log 18 14 if [ "$cdrom_lives_here" = "$dev" ] ; then 19 # -c 1 20 hdparm -u 1 -d 1 /dev/$dev > /tmp/oid1.log 2> /dev/null 15 hdparm -u 1 -d 1 /dev/$dev > /tmp/oid1.log 2> /dev/null 21 16 else 22 # -X34 -X66 23 hdparm -u1 -d1 -c1 -m8 -W1 /dev/$dev > /tmp/oid1.log 2> /dev/null 17 hdparm -u1 -d1 -c1 -m8 -W1 /dev/$dev > /tmp/oid1.log 2> /dev/null 24 18 fi 25 19 cat /tmp/oid1.log >> /tmp/oid.log 26 done 27 echo "Done. See /tmp/oid.log for logs." 28 #else 29 # echo "Fair enough. I shan't optimize IDE access." 30 #fi 20 done 21 echo "Done. See /tmp/oid.log for logs." 31 22 32 23 echo "'ide-opt' has tried to optimize IDE access. If you saw lots of warnings," -
branches/2.2.10/mindi/rootfs/sbin/init
r2592 r2594 91 91 openvt -l /bin/sh /sbin/wait-for-petris 92 92 openvt -l /usr/bin/tail -f $LOGFILE 93 # May avoid shell error messages94 # chmod 666 /dev/tty* /dev/console95 93 # By default first serial line is configured as tty 96 94 # Required to have a correct serial console support (MP on ia64 or VSP with iLO2 e.g.) … … 313 311 /sbin/udevadm settle --timeout=10 314 312 fi 315 # It seems we need to have more static devs on some distro w ere316 # udev as some other requirements to be covered later on.313 # It seems we need to have more static devs on some distro where 314 # udev has some other requirements to be covered later on. 317 315 # So in the mean time: 318 316 for d in `ls /dev.static`; do … … 321 319 fi 322 320 done 323 rm -rf /dev.static324 321 echo $PKLVL > /proc/sys/kernel/printk 325 322 } … … 680 677 if [ -e "$MINDI_CACHE/USE-UDEV" ] ; then 681 678 if [ -x /sbin/udevadm ]; then 682 /sbin/udevadm trigger --retry-failed 679 udaver=`/sbin/udevadm --version` 680 if [ $udaver -lt 146 ]; then 681 /sbin/udevadm trigger --retry-failed 682 else 683 # After version 146 option --retry-failed doesn't exist anymore 684 /sbin/udevadm trigger 685 fi 683 686 fi 684 687 fi -
branches/2.2.10/mindi/rootfs/sbin/install-additional-tools
r2592 r2594 60 60 cd $old_pwd 61 61 echo -e -n "\r" 62 [ ! -e "$MINDI_CACHE/CDROM-LIVES-HERE" ] && umount $mountpoint62 [ ! -e "$MINDI_CACHE/CDROM-LIVES-HERE" ] && [ -e "$tarball" ] && umount $mountpoint 63 63 sleep 1 64 64 fi
Note:
See TracChangeset
for help on using the changeset viewer.