Update of /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8291/skel/init.d
Modified Files: bootmisc.sh checkroot.sh cron hostname.sh hwclock ifupdown inetd mountall.sh networking procps.sh rc rcS rmnologin sysklogd umountfs urandom watchdog Added Files: klogd Removed Files: halt mountnfs.sh reboot sendsigs single Log Message: updates for busybox init Index: ifupdown =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/ifupdown,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ifupdown 14 Oct 2004 19:09:46 -0000 1.1 --- ifupdown 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 1,4 **** #!/bin/sh -e ! RCDLINKS="S,S39" case "$1" in start|restart) --- 1,5 ---- #!/bin/sh -e ! RCDLINKS="2,S04" ! case "$1" in start|restart) Index: rcS =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/rcS,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rcS 9 Jun 2005 19:24:33 -0000 1.2 --- rcS 20 Mar 2007 19:52:51 -0000 1.3 *************** *** 4,15 **** # numerical/alphabetical order. # - # Version: @(#)/etc/init.d/rcS 2.74 09-Mar-1998 [EMAIL PROTECTED] - # PATH=/sbin:/bin:/usr/sbin:/usr/bin - runlevel=S - prevlevel=N umask 022 ! export PATH runlevel prevlevel # --- 4,13 ---- # numerical/alphabetical order. # PATH=/sbin:/bin:/usr/sbin:/usr/bin umask 022 ! export PATH ! ! . /etc/default/rcS # *************** *** 19,28 **** # - # Source defaults. - # - . /etc/default/rcS - export VERBOSE - - # # Trap CTRL-C &c only in this shell so we can interrupt subprocesses. # --- 17,20 ---- *************** *** 32,37 **** # Dynamic creation of rc?.d symlinks. [LRP] # ! [ "$DYNARCD" = "yes" ] && update-rc.d -a -f -w >/dev/null 2>&1 ! # --- 24,28 ---- # Dynamic creation of rc?.d symlinks. [LRP] # ! [ "$DYNARCD" != no ] && update-rc.d -a -f -w >/dev/null 2>&1 # *************** *** 57,64 **** esac done - - # - # For compatibility, run the files in /etc/rc.boot too. - # - [ -d /etc/rc.boot ] && run-parts /etc/rc.boot - --- 48,49 ---- Index: cron =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/cron,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cron 14 Oct 2004 19:09:46 -0000 1.1 --- cron 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 2,29 **** # Start/stop the cron daemon. ! RCDLINKS="0,K11 1,K11 2,S89 3,S89 4,S89 5,S89 6,K11" test -f /usr/sbin/cron || exit 0 case "$1" in ! start) echo -n "Starting periodic command scheduler: cron" start-stop-daemon --start --quiet --exec /usr/sbin/cron echo "." ;; ! stop) echo -n "Stopping periodic command scheduler: cron" start-stop-daemon --stop --quiet --exec /usr/sbin/cron echo "." ;; ! restart) echo -n "Re-starting periodic command scheduler: cron" start-stop-daemon --stop --quiet --exec /usr/sbin/cron start-stop-daemon --start --quiet --exec /usr/sbin/cron echo "." ;; ! reload|force-reload) echo -n "Re-loading configuration files for periodic command scheduler: cron" # cron reloads automatically echo "." ;; ! *) echo "Usage: /etc/init.d/cron start|stop"; exit 1 ;; esac exit 0 --- 2,35 ---- # Start/stop the cron daemon. ! RCDLINKS="0,K11 2,S89" test -f /usr/sbin/cron || exit 0 case "$1" in ! start) ! echo -n "Starting periodic command scheduler: cron" start-stop-daemon --start --quiet --exec /usr/sbin/cron echo "." ;; ! stop) ! echo -n "Stopping periodic command scheduler: cron" start-stop-daemon --stop --quiet --exec /usr/sbin/cron echo "." ;; ! restart) ! echo -n "Re-starting periodic command scheduler: cron" start-stop-daemon --stop --quiet --exec /usr/sbin/cron start-stop-daemon --start --quiet --exec /usr/sbin/cron echo "." ;; ! reload|force-reload) ! echo -n "Re-loading configuration files for periodic command scheduler: cron" # cron reloads automatically echo "." ;; ! *) ! echo "Usage: /etc/init.d/cron start|stop"; exit 1 ;; esac + exit 0 Index: hostname.sh =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/hostname.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** hostname.sh 14 Oct 2004 19:09:46 -0000 1.1 --- hostname.sh 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 1,3 **** ! RCDLINKS="S,S00" # --- 1,3 ---- ! RCDLINKS="S,S02" # --- single DELETED --- Index: urandom =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/urandom,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** urandom 29 Jun 2006 18:37:45 -0000 1.2 --- urandom 20 Mar 2007 19:52:51 -0000 1.3 *************** *** 4,17 **** # It is called from the boot, halt and reboot scripts. # ! # Version: @(#)urandom 1.32 26-Nov-1997 [EMAIL PROTECTED] ! # ! ! #Modified for LRP ! ! RCDLINKS="S,S55 0,S30 6,S30" [ -c /dev/urandom ] || exit 0 - . /etc/default/rcS SAVEDFILE=/var/lib/random-seed --- 4,11 ---- # It is called from the boot, halt and reboot scripts. # ! RCDLINKS="S,S55 0,S30" [ -c /dev/urandom ] || exit 0 SAVEDFILE=/var/lib/random-seed *************** *** 21,28 **** case "$1" in start|"") ! if [ "$VERBOSE" != no ] ! then ! echo -n "Initializing random number generator... " ! fi # Load and then save POOLSIZE bytes, # which is the size of the entropy pool --- 15,19 ---- case "$1" in start|"") ! echo -n "Initializing random number generator... " # Load and then save POOLSIZE bytes, # which is the size of the entropy pool *************** *** 36,49 **** || echo "urandom start: failed." umask 022 ! [ "$VERBOSE" != no ] && echo "done." ;; stop) # Carry a random seed from shut-down to start-up; # see documentation in linux/drivers/char/random.c ! [ "$VERBOSE" != no ] && echo -n "Saving random seed... " umask 077 dd if=/dev/urandom of=$SAVEDFILE bs=$POOLSIZE count=1 >/dev/null 2>&1 \ || echo "urandom stop: failed." ! [ "$VERBOSE" != no ] && echo "done." ;; *) --- 27,40 ---- || echo "urandom start: failed." umask 022 ! echo "done." ;; stop) # Carry a random seed from shut-down to start-up; # see documentation in linux/drivers/char/random.c ! echo -n "Saving random seed... " umask 077 dd if=/dev/urandom of=$SAVEDFILE bs=$POOLSIZE count=1 >/dev/null 2>&1 \ || echo "urandom stop: failed." ! echo "done." ;; *) Index: watchdog =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/watchdog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** watchdog 4 Sep 2006 12:23:08 -0000 1.2 --- watchdog 20 Mar 2007 19:52:51 -0000 1.3 *************** *** 2,6 **** #/etc/init.d/watchdog: start watchdog daemon. ! RCDLINKS="0,K10 1,K10 2,S10 3,S10 4,S10 5,S10 6,K10" test -x /usr/sbin/watchdog || exit 0 --- 2,6 ---- #/etc/init.d/watchdog: start watchdog daemon. ! RCDLINKS="0,K80 2,S10" test -x /usr/sbin/watchdog || exit 0 Index: sysklogd =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/sysklogd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** sysklogd 14 Oct 2004 19:09:46 -0000 1.1 --- sysklogd 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 1,9 **** #! /bin/sh ! # /etc/init.d/sysklogd: start system and kernel log daemons. ! RCDLINKS="0,K16 1,K16 S,S00 6,K16" ! test -f /sbin/klogd || exit 0 ! test -f /sbin/syslogd || exit 0 # Options for start/restart the daemons --- 1,12 ---- #! /bin/sh ! # /etc/init.d/sysklogd: start the system log daemon. ! RCDLINKS="0,K90 2,S00" ! PATH=/bin:/usr/bin:/sbin:/usr/sbin ! pidfile=/var/run/syslogd.pid ! binpath=/sbin/syslogd ! ! test -x $binpath || exit 0 # Options for start/restart the daemons *************** *** 12,47 **** SYSLOGD="-m 240" - # Use KLOGD="-k /boot/System.map-$(uname -r)" to specify System.map - # - KLOGD="" - case "$1" in start) echo -n "Starting system log daemon: syslogd" ! start-stop-daemon --start --quiet --exec /sbin/syslogd -- $SYSLOGD ! echo -n " klogd" ! start-stop-daemon --start --quiet --exec /sbin/klogd -- $KLOGD echo "." ;; stop) ! echo -n "Stopping system log daemon: klogd" ! start-stop-daemon --stop --quiet --pidfile /var/run/klogd.pid ! echo -n " syslogd" ! start-stop-daemon --stop --quiet --pidfile /var/run/syslogd.pid echo "." ;; reload|force-reload) ! start-stop-daemon --stop --quiet --signal 1 --pidfile /var/run/syslogd.pid ;; restart) ! echo -n "Stopping system log daemon: klogd" ! start-stop-daemon --stop --quiet --pidfile /var/run/klogd.pid ! echo " syslogd" ! start-stop-daemon --stop --quiet --pidfile /var/run/syslogd.pid sleep 1 echo -n "Starting system log daemon: syslogd" ! start-stop-daemon --start --quiet --exec /sbin/syslogd -- $SYSLOGD ! echo -n " klogd" ! start-stop-daemon --start --quiet --exec /sbin/klogd -- $KLOGD echo "." ;; --- 15,39 ---- SYSLOGD="-m 240" case "$1" in start) echo -n "Starting system log daemon: syslogd" ! start-stop-daemon --start --quiet --exec $binpath -- $SYSLOGD echo "." ;; stop) ! echo -n "Stopping system log daemon: syslogd" ! start-stop-daemon --stop --quiet --exec $binpath --pidfile $pidfile echo "." ;; reload|force-reload) ! start-stop-daemon --stop --quiet --signal 1 --exec $binpath --pidfile $pidfile ;; restart) ! echo -n "Stopping system log daemon: syslogd" ! start-stop-daemon --stop --quiet --exec $binpath --pidfile $pidfile ! echo "." sleep 1 echo -n "Starting system log daemon: syslogd" ! start-stop-daemon --start --quiet --exec $binpath -- $SYSLOGD echo "." ;; Index: networking =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/networking,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** networking 29 Aug 2006 18:02:51 -0000 1.3 --- networking 20 Mar 2007 19:52:51 -0000 1.4 *************** *** 2,6 **** # # start/stop networking daemons. ! RCDLINKS="S,S40 0,K35 6,K35" if ! [ -x /sbin/ifup ]; then --- 2,6 ---- # # start/stop networking daemons. ! RCDLINKS="2,S05 0,K95" if ! [ -x /sbin/ifup ]; then *************** *** 15,23 **** ;; stop) - if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts | - grep -qE '^(nfs[1234]?|smbfs|coda|cifs)$'; then - echo "NOT deconfiguring network interfaces: network shares still mounted." - exit 0 - fi echo -n "Deconfiguring network interfaces: " ifdown -a --- 15,18 ---- Index: procps.sh =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/procps.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** procps.sh 14 Oct 2004 19:09:46 -0000 1.1 --- procps.sh 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 2,12 **** # /etc/init.d/procps: Set kernel variables from /etc/sysctl.conf # - RCDLINKS="S,S30" - # Check for existance of the default file and exit if not there - [ -r /etc/default/rcS ] || exit 0 - . /etc/default/rcS - [ -x /sbin/sysctl ] || exit 0 --- 2,7 ---- *************** *** 16,29 **** fi ! if [ "$VERBOSE" = "no" ] ! then ! n="-n" ! redir=">/dev/null" ! else ! echo "Setting kernel variables ..." ! n="" ! redir="" ! fi ! ! eval "/sbin/sysctl $n -p $redir" ! echo "... done." --- 11,15 ---- fi ! echo "Setting kernel variables ..." ! eval "/sbin/sysctl -p" ! echo "done." --- reboot DELETED --- --- mountnfs.sh DELETED --- Index: rc =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/rc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** rc 14 Oct 2004 19:09:46 -0000 1.1 --- rc 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 4,13 **** # services when the runlevel changes. # - # Optimization feature: - # A startup script is _not_ run when the service was - # running in the previous runlevel and it wasn't stopped - # in the runlevel transition (most Debian services don't - # have K?? links in rc{1,2,3,4,5} ) - # # Author: Miquel van Smoorenburg <[EMAIL PROTECTED]> # Bruce Perens <[EMAIL PROTECTED]> --- 4,7 ---- *************** *** 16,21 **** # (In other words I couldn't figure it out on my own) # - # Version: @(#)rc 2.73 26-Nov-1997 [EMAIL PROTECTED] - # Version: 2.73sh 1998-06-03 [EMAIL PROTECTED] # Un-comment the following for debugging. --- 10,13 ---- *************** *** 42,95 **** stty onlcr 0>&1 ! # Now find out what the current and what the previous runlevel are. ! ! runlevel=$RUNLEVEL ! # Get first argument. Set new runlevel to this argument. [ "$1" != "" ] && runlevel=$1 ! previous=$PREVLEVEL ! ! export runlevel previous ! ! # Is there an rc directory for this new runlevel? if [ -d /etc/rc$runlevel.d ] then # First, run the KILL scripts. ! if [ $previous != N ] ! then ! for i in /etc/rc$runlevel.d/K[0-9][0-9]* ! do ! # Check if the script is there. ! [ ! -f $i ] && continue ! # Stop the service. ! startup $i stop ! done ! fi # Now run the START scripts for this runlevel. for i in /etc/rc$runlevel.d/S* do [ ! -f $i ] && continue - - if [ $previous != N ] - then - # - # Find start script in previous runlevel and - # stop script in this runlevel. - # - #sh can't pattern match - #suffix=${i#/etc/rc$runlevel.d/S[0-9][0-9]} - - suffix=`IFS=" 0123456789"; set $i; echo $3` - - stop=/etc/rc$runlevel.d/K[0-9][0-9]$suffix - previous_start=/etc/rc$previous.d/S[0-9][0-9]$suffix - # - # If there is a start script in the previous level - # and _no_ stop script in this level, we don't - # have to re-start the service. - # - [ -f $previous_start ] && [ ! -f $stop ] && continue - fi case "$runlevel" in 0|6) --- 34,56 ---- stty onlcr 0>&1 ! # Get first argument. Set runlevel to this argument. [ "$1" != "" ] && runlevel=$1 ! # Is there an rc directory for this runlevel? if [ -d /etc/rc$runlevel.d ] then # First, run the KILL scripts. ! for i in /etc/rc$runlevel.d/K[0-9][0-9]* ! do ! # Check if the script is there. ! [ ! -f $i ] && continue ! # Stop the service. ! startup $i stop ! done # Now run the START scripts for this runlevel. for i in /etc/rc$runlevel.d/S* do [ ! -f $i ] && continue case "$runlevel" in 0|6) --- NEW FILE: klogd --- #! /bin/sh # /etc/init.d/klogd: start the kernel log daemon. RCDLINKS="0,K89 2,S01" PATH=/bin:/usr/bin:/sbin:/usr/sbin pidfile=/var/run/klogd.pid binpath=/sbin/klogd test -f $binpath || exit 0 # Use KLOGD="-k /boot/System.map-$(uname -r)" to specify System.map # KLOGD="-x" case "$1" in start) echo -n "Starting kernel log daemon: klogd" start-stop-daemon --start --quiet --exec $binpath -- $KLOGD echo "." ;; stop) echo -n "Stopping kernel log daemon: klogd" start-stop-daemon --stop --quiet --exec $binpath --pidfile $pidfile echo "." ;; restart|force-reload) echo -n "Stopping kernel log daemon: klogd" start-stop-daemon --stop --quiet --exec $binpath --pidfile $pidfile echo "." sleep 1 echo -n "Starting kernel log daemon: klogd" start-stop-daemon --start --quiet --exec $binpath -- $KLOGD echo "." ;; *) echo "Usage: /etc/init.d/klogd {start|stop|restart|force-reload}" exit 1 esac exit 0 --- halt DELETED --- Index: inetd =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/inetd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** inetd 14 Oct 2004 19:09:46 -0000 1.1 --- inetd 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 3,7 **** # start/stop inetd super server. ! RCDLINKS="0,K20 1,K20 2,S20 3,S20 4,S20 5,S20 6,K20" if ! [ -x /usr/sbin/inetd ]; then --- 3,7 ---- # start/stop inetd super server. ! RCDLINKS="0,K20 2,S20" if ! [ -x /usr/sbin/inetd ]; then Index: hwclock =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/hwclock,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** hwclock 14 Oct 2004 19:09:46 -0000 1.1 --- hwclock 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 1,12 **** #!/bin/sh # hwclock.sh Set and adjust the CMOS clock, according to the UTC ! # setting in /etc/default/rcS (see also rcS(5)). ! # ! # Version: @(#)hwclock.sh 2.00 14-Dec-1998 [EMAIL PROTECTED] # - # Changes for LRP - Matthew Grant ! ! RCDLINKS="S,S50 0,K25 6,K25" . /etc/default/rcS --- 1,9 ---- #!/bin/sh # hwclock.sh Set and adjust the CMOS clock, according to the UTC ! # setting in /etc/default/rcS. # # Changes for LRP - Matthew Grant ! # ! RCDLINKS="S,S50 0,K25" . /etc/default/rcS *************** *** 16,36 **** start) hwclock --hctosys $GMT ! # ! # Announce the local time. ! # ! if [ "$VERBOSE" != no ] ! then ! echo ! echo "Local time: `date`" ! echo ! fi ;; stop|restart|reload) - [ "$GMT" = "-u" ] && GMT="--utc" hwclock --systohc $GMT ! if [ "$VERBOSE" != no ] ! then ! echo "CMOS clock updated to `date`." ! fi ;; show) --- 13,21 ---- start) hwclock --hctosys $GMT ! #echo "Local time: `date`" ;; stop|restart|reload) hwclock --systohc $GMT ! echo "CMOS clock updated to `date`." ;; show) *************** *** 44,46 **** ;; esac - --- 29,30 ---- --- sendsigs DELETED --- Index: umountfs =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/umountfs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** umountfs 14 Oct 2004 19:09:46 -0000 1.1 --- umountfs 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 1,18 **** #! /bin/sh # ! # umountfs Turn off swap and unmount all file systems. ! # ! # Version: @(#)umountfs 2.73 26-Nov-1997 [EMAIL PROTECTED] # ! ! RCDLINKS="0,S40 6,S40" PATH=/sbin:/bin:/usr/sbin:/usr/bin - # Write a reboot record to /var/log/wtmp before unmounting - halt -w - echo -n "Unmounting file systems... " ! umount -a echo "done." - --- 1,11 ---- #! /bin/sh # ! # umountfs unmount all file systems. # ! RCDLINKS="0,S40" PATH=/sbin:/bin:/usr/sbin:/usr/bin echo -n "Unmounting file systems... " ! umount -a -r echo "done." Index: rmnologin =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/rmnologin,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** rmnologin 14 Oct 2004 19:09:46 -0000 1.1 --- rmnologin 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 4,9 **** # step in the boot process. # ! ! RCDLINKS="2,S99 3,S99 4,S99 5,S99" . /etc/default/rcS --- 4,8 ---- # step in the boot process. # ! RCDLINKS="2,S99" . /etc/default/rcS *************** *** 13,15 **** rm -f /etc/nologin fi - --- 12,13 ---- Index: mountall.sh =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/mountall.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mountall.sh 14 Oct 2004 19:09:46 -0000 1.1 --- mountall.sh 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 1,23 **** - RCDLINKS="S,S35" # # mountall.sh Mount all filesystems. # ! # Version: @(#)mountall.sh 2.76 10-Dec-1998 [EMAIL PROTECTED] ! # ! . /etc/default/rcS # # Mount local file systems in /etc/fstab. # ! [ "$VERBOSE" != no ] && echo "Mounting local file systems..." mount -a - - # - # We might have mounted something over /dev, see if /dev/initctl is there. - # - if [ ! -p /dev/initctl ] - then - rm -f /dev/initctl - mknod -m 600 /dev/initctl p - fi - kill -USR1 1 --- 1,10 ---- # # mountall.sh Mount all filesystems. # ! RCDLINKS="S,S35" # # Mount local file systems in /etc/fstab. # ! echo "Mounting local file systems..." mount -a Index: bootmisc.sh =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/bootmisc.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** bootmisc.sh 18 Oct 2004 20:20:29 -0000 1.2 --- bootmisc.sh 20 Mar 2007 19:52:50 -0000 1.3 *************** *** 2,8 **** # bootmisc.sh Miscellaneous things to be done during bootup. # - # Version: @(#)bootmisc.sh 1.20 09-Jan-1999 [EMAIL PROTECTED] - # - RCDLINKS="S,S55" --- 2,5 ---- *************** *** 22,31 **** : > /var/run/utmp - # # Set pseudo-terminal access permissions. # ! chmod 666 /dev/tty[p-za-e][0-9a-f] ! chown root:tty /dev/tty[p-za-e][0-9a-f] # --- 19,33 ---- : > /var/run/utmp # # Set pseudo-terminal access permissions. # ! #chmod 666 /dev/tty[p-za-e][0-9a-f] ! #chown root:tty /dev/tty[p-za-e][0-9a-f] ! ! # ! # Save kernel messages in /var/log/dmesg ! # ! dmesg -s 524288 > /var/log/dmesg ! #chgrp wheel /var/log/dmesg # *************** *** 38,48 **** cat /proc/sys/kernel/version) echo "LEAF Bering-uClibc" $n1 >/etc/motd ! echo "LEAF Bering-uClibc $(cat /var/lib/lrpkg/initrd.version) \n \l" >/etc/issue echo "LEAF Bering-uClibc $(cat /var/lib/lrpkg/initrd.version) %h" >/etc/issue.net fi - - # - # Set the level at which logging of messages is done to the console - # - dmesg -n 3 --- 40,45 ---- cat /proc/sys/kernel/version) echo "LEAF Bering-uClibc" $n1 >/etc/motd ! echo "LEAF Bering-uClibc $(cat /var/lib/lrpkg/initrd.version) \n \l" >/etc/issue echo "LEAF Bering-uClibc $(cat /var/lib/lrpkg/initrd.version) %h" >/etc/issue.net fi Index: checkroot.sh =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/etc/skel/init.d/checkroot.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** checkroot.sh 14 Oct 2004 19:09:46 -0000 1.1 --- checkroot.sh 20 Mar 2007 19:52:51 -0000 1.2 *************** *** 2,7 **** # checkroot.sh Check to root file system. # - # Version: @(#)checkroot.sh 2.76 12-Jan-1999 [EMAIL PROTECTED] - # RCDLINKS="S,S10" --- 2,5 ---- *************** *** 12,14 **** [ "$SULOGIN" = yes ] && sulogin -t 30 $CONSOLE - --- 10,11 ---- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ leaf-cvs-commits mailing list leaf-cvs-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits