WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tinycore_1.0rc6  (Read 5142 times)

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
tinycore_1.0rc6
« on: December 15, 2008, 08:35:33 AM »
Release Candidate 6 is now posted.
This RC should be better in supporting netcards via dhcp.

* Moved dhcp to background from tc-config allows slower netcards to become configured.
* Terminal Server mod to accomodate new busybox.
* Added link to improve extension module support in PPI environment.
10+ Years Contributing to Linux Open Source Projects.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: tinycore_1.0rc6
« Reply #1 on: December 15, 2008, 09:35:10 AM »
Lua extras:
Quote
etc/init.d/functions.lua
root/.luafltkrc

I forgot colors from dhcp.sh:
Quote
--- dhcp.sh     2008-12-15 19:13:53.000000000 +0200
+++ dhcp.sh.new 2008-12-15 19:18:14.000000000 +0200
@@ -1,6 +1,7 @@
 #!/bin/sh
 # The DHCP portion is now separated out, in order to not slow the boot down
 # only to wait for slow network cards
+. /etc/init.d/tc-functions

 # This waits until all devices have registered
 /sbin/udevsettle

And a typo in tc-terminal-server:
Quote
--- tc-terminal-server  2008-12-15 19:13:53.000000000 +0200
+++ tc-terminal-server.new      2008-12-15 19:19:16.000000000 +0200
@@ -102,5 +102,5 @@

 # If everything's OK, let's roll!
 udhcpd /netboot/udhcpd.conf &
-echo Plase leave this terminal open
+echo Please leave this terminal open
 udpsvd -E 0 69 tftpd /netboot
The only barriers that can stop you are the ones you create yourself.

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: tinycore_1.0rc6
« Reply #2 on: December 15, 2008, 09:29:52 PM »
This release allowed the network to be configured automatically in one of my setups. Nice.

In addition, the change of making the output on one line might be better, so that the output during boot doesn't get messed up:
Code: [Select]
--- dhcp.sh.orig  Tue Dec 16 00:17:55 2008
+++ dhcp.sh Tue Dec 16 00:26:53 2008
@@ -7,10 +7,8 @@

   NETDEVICES="$(awk -F: '/eth.:|tr.:/{print $1}' /proc/net/dev 2>/dev/null)"
   for DEVICE in $NETDEVICES; do
-    echo -n "${GREEN}Network device ${MAGENTA}$DEVICE${GREEN} detected, DHCP broadcasting for IP.${NORMAL}"
+    echo "${GREEN}Network device ${MAGENTA}$DEVICE${GREEN} detected, DHCP broadcasting for IP. ${BLUE}(Backgrounding)${NORMAL}"
     trap 2 3 11
     /sbin/udhcpc -b -i $DEVICE -h $(/bin/hostname) -p /var/run/udhcpc.$DEVICE.pid >/dev/null 2>&1 &
     trap "" 2 3 11
-    sleep 1
-    echo " ${BLUE}(Backgrounding)${NORMAL}"
   done
Probably could get rid of the trap statements as well since it's backgrounded... but can't hurt to leave them in, I guess.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tinycore_1.0rc6
« Reply #3 on: December 15, 2008, 10:26:22 PM »
Colors & Typo  ;D
I have already cut down the text to prevent intermixing.
10+ Years Contributing to Linux Open Source Projects.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: tinycore_1.0rc6
« Reply #4 on: December 16, 2008, 04:54:09 AM »
Quote
Colors & Typo ;D
What? ;)

Ain't it usually a good sign when fixes start to be cosmetic?
The only barriers that can stop you are the ones you create yourself.