diff options
Diffstat (limited to 'nslu2-binary-only')
24 files changed, 0 insertions, 595 deletions
diff --git a/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe b/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe deleted file mode 100644 index cf0b85de56..0000000000 --- a/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe +++ /dev/null @@ -1,17 +0,0 @@ -SECTION = "base" -DEPENDS = "slugtool-native unzip-native" -PACKAGES = "" -INHIBIT_DEFAULT_DEPS = "1" -PR = "r2" - -SRC_URI = "ftp://ftp.linksys.com/pub/network/nslu2-fw-2.3r25.zip" -S = "${WORKDIR}" - -do_compile () { - slugtool unpack NSLU2_V23R25.bin - install -d ${STAGING_LIBDIR}/nslu2-binaries - install -m 0755 Redboot ${STAGING_LIBDIR}/nslu2-binaries/ - install -m 0755 SysConf ${STAGING_LIBDIR}/nslu2-binaries/ - install -m 0755 ramdisk.gz ${STAGING_LIBDIR}/nslu2-binaries/ - install -m 0755 Trailer ${STAGING_LIBDIR}/nslu2-binaries/ -} diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/ipkg.conf b/nslu2-binary-only/nslu2-linksys-firmware_2.3r25.oe index e69de29bb2..e69de29bb2 100644 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/ipkg.conf +++ b/nslu2-binary-only/nslu2-linksys-firmware_2.3r25.oe diff --git a/nslu2-binary-only/nslu2-linksys-libs_2.3r25.oe b/nslu2-binary-only/nslu2-linksys-libs_2.3r25.oe new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/nslu2-linksys-libs_2.3r25.oe diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk-able_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk-able_2.3r25.oe deleted file mode 100644 index 7491cb9eef..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk-able_2.3r25.oe +++ /dev/null @@ -1,8 +0,0 @@ -UNSLUNG_VARIANT = "able" - -# Add overlays and patches to the standard ramdisk here -# SRC_URI += "file://ipkg.conf" - -include nslu2-unslung-ramdisk_2.3r25.oe - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/nslu2-unslung-ramdisk/able', '${FILE_DIRNAME}/nslu2-unslung-ramdisk', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk-ext3flash_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk-ext3flash_2.3r25.oe deleted file mode 100644 index 08bef7314f..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk-ext3flash_2.3r25.oe +++ /dev/null @@ -1,8 +0,0 @@ -UNSLUNG_VARIANT = "ext3flash" - -# Add overlays and patches to the standard ramdisk here -# SRC_URI += "file://ipkg.conf" - -include nslu2-unslung-ramdisk_2.3r25.oe - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/nslu2-unslung-ramdisk/ext3flash', '${FILE_DIRNAME}/nslu2-unslung-ramdisk', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk-standard_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk-standard_2.3r25.oe deleted file mode 100644 index 4645caedae..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk-standard_2.3r25.oe +++ /dev/null @@ -1,8 +0,0 @@ -UNSLUNG_VARIANT = "standard" - -# Add overlays and patches to the standard ramdisk here -# SRC_URI += "file://ipkg.conf" - -include nslu2-unslung-ramdisk_2.3r25.oe - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/nslu2-unslung-ramdisk/standard', '${FILE_DIRNAME}/nslu2-unslung-ramdisk', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk-vfatdisk2_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk-vfatdisk2_2.3r25.oe deleted file mode 100644 index ee31cf3626..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk-vfatdisk2_2.3r25.oe +++ /dev/null @@ -1,8 +0,0 @@ -UNSLUNG_VARIANT = "vfatdisk2" - -# Add overlays and patches to the standard ramdisk here -# SRC_URI += "file://ipkg.conf" - -include nslu2-unslung-ramdisk_2.3r25.oe - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/nslu2-unslung-ramdisk/vfatdisk2', '${FILE_DIRNAME}/nslu2-unslung-ramdisk', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/able/linuxrc b/nslu2-binary-only/nslu2-unslung-ramdisk/able/linuxrc deleted file mode 100644 index 4b364b2032..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/able/linuxrc +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -echo "Firmware Version: `cat /.unslung`" - -mounted= - -/bin/mount -t proc proc /proc -/bin/mount -t usbdevfs usbdevfs /proc/bus/usb -echo "0x0100" > /proc/sys/kernel/real-root-dev - -/bin/sleep 10 - -if [ -z "$mounted" ] && /bin/mount -rt ext3 /dev/sda2 /mnt/tmpmnt ; then - - if [ -x /mnt/tmpmnt/bin/init ] && - [ -d /mnt/tmpmnt/unslung ] && [ -r /mnt/tmpmnt/.unslung ] && - [ "`cat /.unslung`" = "`cat /mnt/tmpmnt/.unslung`" ] ; then - echo "Root filesystem will be mounted from /dev/sda2 ..." - mounted=/mnt/tmpmnt - echo "0x0802" > /proc/sys/kernel/real-root-dev - [ -r $mounted/unslung/rc.linuxrc ] && . $mounted/unslung/rc.linuxrc - fi - - /bin/umount /mnt/tmpmnt -fi - -if [ -z "$mounted" ] && /bin/mount -rt ext3 /dev/sdb2 /mnt/tmpmnt ; then - - if [ -x /mnt/tmpmnt/bin/init ] && - [ -d /mnt/tmpmnt/unslung ] && [ -r /mnt/tmpmnt/.unslung ] && - [ "`cat /.unslung`" = "`cat /mnt/tmpmnt/.unslung`" ] ; then - echo "Root filesystem will be mounted from /dev/sdb2 ..." - mounted=/mnt/tmpmnt - echo "0x0812" > /proc/sys/kernel/real-root-dev - [ -r $mounted/unslung/rc.linuxrc ] && . $mounted/unslung/rc.linuxrc - fi - - /bin/umount /mnt/tmpmnt -fi - -if [ -z "$mounted" ] ; then - echo "Root filesystem will be mounted from /dev/ram0 ..." -fi - -/bin/umount /proc - -exit 0 diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/flashfs b/nslu2-binary-only/nslu2-unslung-ramdisk/flashfs deleted file mode 100644 index c5d63c8e0e..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/flashfs +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2004 by Oleg I. Vdovikin <oleg@cs.msu.su> -# Modified for Unslung by Rod Whitby -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# - -VERSION="$(cat /.unslung)" -FLASHFS=/share/flash/data/flashfs.tar.gz - -case "$1" in - status) - echo "$VERSION" - ;; - start) - if [ -f ${FLASHFS} ]; then - tar -C / -zxf ${FLASHFS} - fi - ;; - clear) - rm -f ${FLASHFS} - ;; - load) - tar -C / -zxvf ${FLASHFS} - ;; - list) - tar -C / -ztf ${FLASHFS} - ;; - save) - [ -f /unslung/.files ] && FILES=$(cat /unslung/.files) - rm -f /tmp/flash.tar.gz - tar -C / -zcvf /tmp/flash.tar.gz /unslung $FILES && - cp /tmp/flash.tar.gz ${FLASHFS} && - ls -l ${FLASHFS} && - echo "Saved." - ;; - *) - echo "Usage: $0 status|clear|load|list|save" - ;; -esac diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/linuxrc b/nslu2-binary-only/nslu2-unslung-ramdisk/linuxrc deleted file mode 100644 index d80b748f08..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/linuxrc +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -echo "Firmware Version: `cat /.unslung`" - -mounted= - -/bin/mount -t proc proc /proc -echo "0x0100" > /proc/sys/kernel/real-root-dev - -/bin/sleep 10 - -if [ -z "$mounted" ] && /bin/mount -rt ext3 /dev/sda2 /mnt/tmpmnt ; then - - if [ -x /mnt/tmpmnt/bin/init ] && - [ -d /mnt/tmpmnt/unslung ] && [ -r /mnt/tmpmnt/.unslung ] && - [ "`cat /.unslung`" = "`cat /mnt/tmpmnt/.unslung`" ] ; then - echo "Root filesystem will be mounted from /dev/sda2 ..." - mounted=/mnt/tmpmnt - echo "0x0802" > /proc/sys/kernel/real-root-dev - [ -r $mounted/unslung/rc.linuxrc ] && . $mounted/unslung/rc.linuxrc - fi - - /bin/umount /mnt/tmpmnt -fi - -if [ -z "$mounted" ] && /bin/mount -rt ext3 /dev/sdb2 /mnt/tmpmnt ; then - - if [ -x /mnt/tmpmnt/bin/init ] && - [ -d /mnt/tmpmnt/unslung ] && [ -r /mnt/tmpmnt/.unslung ] && - [ "`cat /.unslung`" = "`cat /mnt/tmpmnt/.unslung`" ] ; then - echo "Root filesystem will be mounted from /dev/sdb2 ..." - mounted=/mnt/tmpmnt - echo "0x0812" > /proc/sys/kernel/real-root-dev - [ -r $mounted/unslung/rc.linuxrc ] && . $mounted/unslung/rc.linuxrc - fi - - /bin/umount /mnt/tmpmnt -fi - -if [ -z "$mounted" ] ; then - echo "Root filesystem will be mounted from /dev/ram0 ..." -fi - -/bin/umount /proc - -exit 0 diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/rc.unslung b/nslu2-binary-only/nslu2-unslung-ramdisk/rc.unslung deleted file mode 100644 index 86bfdf0029..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/rc.unslung +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -if ( [ -f /unslung/rc.unslung ] && . /unslung/rc.unslung ) ; then return 0 ; fi - -# Start all init scripts in /opt/etc/init.d -# executing them in numerical order. -# -for i in /opt/etc/init.d/S??* ;do - - # Ignore dangling symlinks (if any). - [ ! -f "$i" ] && continue - - case "$i" in - *.sh) - # Source shell script for speed. - ( - trap - INT QUIT TSTP - set start - . $i - ) - ;; - *) - # No sh extension, so fork subprocess. - $i start - ;; - esac -done diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/unsling b/nslu2-binary-only/nslu2-unslung-ramdisk/unsling deleted file mode 100644 index f0345aba70..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/unsling +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/sh - -# Only do this if we have booted from the ramdisk. - -if [ "`cat /proc/sys/kernel/real-root-dev`" != 256 ] ; then - echo "Cannot unsling an active unslung root partition!" - exit 0 -fi - -# Set or seach for target disk - -if [ $# -gt 1 ] ; then - echo "Usage: $0 [flash|hdd]" - exit 1 -fi - -if [ $# -eq 1 ] ; then - if [ "$1" = "flash" -o "$1" = "hdd" ] ; then - targ=/share/$1/conf - else - echo "Usage: $0 [flash|hdd]" - exit 1 - fi -elif [ -d /share/hdd/conf/lost+found ] ; then - targ=/share/hdd/conf -elif [ -d /share/flash/conf/lost+found ] ; then - targ=/share/flash/conf -else - echo "Cannot locate target root partition" - exit 1 -fi - -echo "Target root partition is $targ" - -echo "Removing conflicts from old unslung root partition." -rm -f $targ/bin/ipkg - -# Unsling it! - -copyfiles=".unslung bin dev etc home lib linuxrc mnt sbin usr" - -echo "Copying ramdisk files to new unslung root partition." -cd / -tar cf - $copyfiles | ( cd $targ ; tar xf - ) - -# Create other required directories. - -echo "Creating required mount points and empty directories." - -rm -rf $targ/tmp && mkdir $targ/tmp - -[ ! -d $targ/share ] && mkdir $targ/share -[ ! -d $targ/share/flash ] && mkdir $targ/share/flash -[ ! -d $targ/share/flash/conf ] && mkdir $targ/share/flash/conf -[ ! -d $targ/share/flash/data ] && mkdir $targ/share/flash/data -[ ! -d $targ/share/hdd ] && mkdir $targ/share/hdd -[ ! -d $targ/share/hdd/conf ] && mkdir $targ/share/hdd/conf -[ ! -d $targ/share/hdd/data ] && mkdir $targ/share/hdd/data -[ ! -d $targ/mnt ] && mkdir $targ/mnt -[ ! -d $targ/mnt/backup ] && mkdir $targ/mnt/backup -[ ! -d $targ/mnt/repair ] && mkdir $targ/mnt/repair -[ ! -d $targ/mnt/tmpmnt ] && mkdir $targ/mnt/tmpmnt -[ ! -d $targ/proc ] && mkdir $targ/proc -[ ! -d $targ/upload ] && mkdir $targ/upload -[ ! -d $targ/var ] && mkdir $targ/var -[ ! -d $targ/var/empty ] && mkdir $targ/var/empty -[ ! -d $targ/var/lock ] && mkdir $targ/var/lock -[ ! -d $targ/var/log ] && mkdir $targ/var/log -[ ! -d $targ/var/run ] && mkdir $targ/var/run -[ ! -d $targ/var/tmp ] && mkdir $targ/var/tmp - -# Ensure /unslung is there. - -if [ ! -d $targ/unslung ] ; then - - echo "Creating new /unslung directory on unslung root partition." - - mkdir $targ/unslung - -else - echo "Preserving existing /unslung directory on unslung root partition." -fi - -# Ensure /root is there. - -if [ ! -d $targ/root ] ; then - - echo "Creating new /root directory on unslung root partition." - - mkdir $targ/root - -else - echo "Preserving existing /root directory on unslung root partition." -fi - -# Ensure /opt is there. - -if [ ! -d $targ/opt ] ; then - - echo "Creating new /opt directory on unslung root partition." - - mkdir $targ/opt - -else - echo "Preserving existing /opt directory on unslung root partition." -fi - -echo "Unslinging any default root passwords." - -[ -f $targ/passwd ] && sed -i -e 's/^root:WeeOvKUvbQ6nI:0:0:root:/root:t1PLUeOinN\/eI:0:0:root:/' $targ/passwd -[ -f $targ/usr/local/passwd ] && sed -i -e 's/^root:WeeOvKUvbQ6nI:0:0:root:/root:t1PLUeOinN\/eI:0:0:root:/' $targ/usr/local/passwd - -exit 0 diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/unslung.patch b/nslu2-binary-only/nslu2-unslung-ramdisk/unslung.patch deleted file mode 100644 index 3eba560611..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/unslung.patch +++ /dev/null @@ -1,224 +0,0 @@ -diff -BurN /dev/null/nslu/.unslung /mnt/nslu/.unslung ---- /dev/null/nslu/.unslung 1970-01-01 09:30:00.000000000 +0930 -+++ /mnt/nslu/.unslung 2004-08-30 21:46:35.000000000 +0930 -@@ -0,0 +1 @@ -+V2.3R25-uNSLUng-X.Y -\ No newline at end of file -diff -BurN /dev/null/nslu/etc/passwd /mnt/nslu/etc/passwd ---- /dev/null/nslu/etc/passwd 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/passwd 2004-08-30 09:02:51.000000000 -0400 -@@ -1,4 +1,4 @@ --root:WeeOvKUvbQ6nI:0:0:root:/root:/bin/sh -+root:t1PLUeOinN/eI:0:0:root:/root:/bin/sh - bin:x:1:1:bin:/bin: - lp:x:4:7:lp:/share/spool: - mail:x:8:12:mail:/var/spool/mail: -diff -BurN /dev/null/nslu/etc/profile /mnt/nslu/etc/profile ---- /dev/null/nslu/etc/profile 1969-12-31 19:00:00.000000000 -0500 -+++ /mnt/nslu/etc/profile 2004-08-30 09:02:51.000000000 -0400 -@@ -0,0 +1,2 @@ -+export PATH=$PATH:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin -+export LD_LIBRARY_PATH=/opt/lib -diff -BurN /dev/null/nslu/etc/rc /mnt/nslu/etc/rc ---- /dev/null/nslu/etc/rc 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc 2004-09-01 21:47:47.000000000 -0400 -@@ -1,4 +1,7 @@ - ## Simple beta script to verify csr -+ -+if ( [ -f /unslung/rc ] && . /unslung/rc ) ; then return 0 ; fi -+ - /usr/bin/Set_Led r_blinking & - mount -t proc proc /proc - mount -o remount,rw /dev/root / -diff -BurN /dev/null/nslu/etc/rc.d/rc.1 /mnt/nslu/etc/rc.d/rc.1 ---- /dev/null/nslu/etc/rc.d/rc.1 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.1 2004-09-01 21:56:17.000000000 -0400 -@@ -1,5 +1,7 @@ - #!/bin/sh - -+if ( [ -f /unslung/rc.1 ] && . /unslung/rc.1 ) ; then return 0 ; fi -+ - #/sbin/ifconfig ixp0 hw ether 00:C0:02:01:01:04 - /bin/echo "Starting Set CGI_ds.conf:"; /etc/rc.d/rc.bootbin; check_status - -@@ -17,6 +19,10 @@ - /bin/echo "Starting Crond :"; . /etc/rc.d/rc.crond - /bin/echo "Starting Rest Task :"; . /etc/rc.d/rc.local - -+if [ -f /.unslung ] ; then -+ /bin/echo "Starting UNSLUNG Packages:"; ( . /etc/rc.d/rc.unslung ) -+fi -+ - /usr/bin/Set_Led ready - /usr/bin/Set_Led beep1 - /bin/echo "Checking disk status :"; /usr/sbin/CheckDiskFull 2 >/dev/null -diff -BurN /dev/null/nslu/etc/rc.d/rc.crond /mnt/nslu/etc/rc.d/rc.crond ---- /dev/null/nslu/etc/rc.d/rc.crond 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.crond 2004-09-01 21:56:37.000000000 -0400 -@@ -1,5 +1,7 @@ - #!/bin/sh - -+if ( [ -r /unslung/rc.crond ] && . /unslung/rc.crond ) ; then return 0 ; fi -+ - if [ -n "`pidof crond`" ] ;then - /bin/killall crond 2>/dev/null - fi -diff -BurN /dev/null/nslu/etc/rc.d/rc.halt /mnt/nslu/etc/rc.d/rc.halt ---- /dev/null/nslu/etc/rc.d/rc.halt 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.halt 2004-09-01 21:57:01.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -r /unslung/rc.halt ] && . /unslung/rc.halt ) ; then return 0 ; fi -+ - /bin/killall -2 upnpd &>/dev/null - /bin/killall nmbd &>/dev/null - /bin/killall smbd &>/dev/null -diff -BurN /dev/null/nslu/etc/rc.d/rc.local /mnt/nslu/etc/rc.d/rc.local ---- /dev/null/nslu/etc/rc.d/rc.local 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.local 2004-09-01 21:57:17.000000000 -0400 -@@ -1,5 +1,9 @@ - #!/bin/sh -+ - HOSTNAME=`hostname` -+ -+if ( [ -r /unslung/rc.local ] && . /unslung/rc.local ) ; then return 0 ; fi -+ - /usr/sbin/CheckResetButton 2>/dev/null - /usr/sbin/CheckPowerButton 2>/dev/null - /usr/sbin/do_umount 2>/dev/null -diff -BurN /dev/null/nslu/etc/rc.d/rc.modules /mnt/nslu/etc/rc.d/rc.modules ---- /dev/null/nslu/etc/rc.d/rc.modules 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.modules 2004-09-01 21:57:34.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.modules ] && . /unslung/rc.modules ) ; then return 0 ; fi -+ - insmod pbuttons &>/dev/null - insmod rbuttons &>/dev/null - insmod x1226-rtc &>/dev/null -diff -BurN /dev/null/nslu/etc/rc.d/rc.network /mnt/nslu/etc/rc.d/rc.network ---- /dev/null/nslu/etc/rc.d/rc.network 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.network 2004-09-01 21:57:46.000000000 -0400 -@@ -1,3 +1,6 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.network ] && . /unslung/rc.network ) ; then return 0 ; fi -+ - /sbin/ifup; #check_status - /bin/echo "call rc.network!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" -diff -BurN /dev/null/nslu/etc/rc.d/rc.quickset /mnt/nslu/etc/rc.d/rc.quickset ---- /dev/null/nslu/etc/rc.d/rc.quickset 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.quickset 2004-09-01 21:57:57.000000000 -0400 -@@ -1,3 +1,6 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.quickset ] && . /unslung/rc.quickset ) ; then return 0 ; fi -+ - /usr/sbin/QuickSet; check_status - /usr/sbin/USB_Detect; check_status -diff -BurN /dev/null/nslu/etc/rc.d/rc.quota /mnt/nslu/etc/rc.d/rc.quota ---- /dev/null/nslu/etc/rc.d/rc.quota 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.quota 2004-09-01 21:58:08.000000000 -0400 -@@ -1,5 +1,7 @@ - #!/bin/sh - -+if ( [ -f /unslung/rc.quota ] && . /unslung/rc.quota ) ; then return 0 ; fi -+ - # Check and turn on disk quota. - if [ -x "/usr/bin/quotacheck" ] - then -diff -BurN /dev/null/nslu/etc/rc.d/rc.reboot /mnt/nslu/etc/rc.d/rc.reboot ---- /dev/null/nslu/etc/rc.d/rc.reboot 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.reboot 2004-09-01 21:58:19.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -r /unslung/rc.reboot ] && . /unslung/rc.reboot ) ; then return 0 ; fi -+ - /bin/killall -2 upnpd 2>/dev/null - sleep 4 - /sbin/ifdown ixp0 -diff -BurN /dev/null/nslu/etc/rc.d/rc.reset_usrgrpshare /mnt/nslu/etc/rc.d/rc.reset_usrgrpshare ---- /dev/null/nslu/etc/rc.d/rc.reset_usrgrpshare 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.reset_usrgrpshare 2004-09-01 21:58:36.000000000 -0400 -@@ -1,2 +1,5 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.reset_usrgrpshare ] && . /unslung/rc.reset_usrgrpshare ) ; then return 0 ; fi -+ - /usr/sbin/reset_ugs; -diff -BurN /dev/null/nslu/etc/rc.d/rc.rstimezone /mnt/nslu/etc/rc.d/rc.rstimezone ---- /dev/null/nslu/etc/rc.d/rc.rstimezone 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.rstimezone 2004-09-01 21:58:47.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.rstimezone ] && . /unslung/rc.rstimezone ) ; then return 0 ; fi -+ - #TIME=`/usr/sbin/hwclock` - /usr/sbin/Set_TimeZone >/dev/null - #/bin/date -s "$TIME" -diff -BurN /dev/null/nslu/etc/rc.d/rc.samba /mnt/nslu/etc/rc.d/rc.samba ---- /dev/null/nslu/etc/rc.d/rc.samba 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.samba 2004-09-01 21:58:57.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.samba ] && . /unslung/rc.samba ) ; then return 0 ; fi -+ - if [ -n "`pidof smbd`" ] ; then - killall smbd 2>/dev/null - fi -diff -BurN /dev/null/nslu/etc/rc.d/rc.sysinit /mnt/nslu/etc/rc.d/rc.sysinit ---- /dev/null/nslu/etc/rc.d/rc.sysinit 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.sysinit 2004-09-01 21:59:04.000000000 -0400 -@@ -1,7 +1,16 @@ - #!/bin/sh -+ - export PATH=/bin:/sbin:/usr/bin:/usr/sbin -+ -+if [ -f /.unslung ] ; then -+ export PATH=${PATH}:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin -+fi -+ - . /etc/rc.d/rc.functions - . /etc/sysconfig/network -+ -+if ( [ -f /unslung/rc.sysinit ] && . /unslung/rc.sysinit ) ; then return 0 ; fi -+ - mkdir -p /var/lock/samba >/dev/null - /bin/echo "Creating ramfs for /var/lock/samba:"; mount -t ramfs none /var/lock/samba -o maxsize=64 - /bin/echo "Limit the space of log folder:"; mount -t ramfs none /var/log -o maxsize=128 -diff -BurN /dev/null/nslu/etc/rc.d/rc.thttpd /mnt/nslu/etc/rc.d/rc.thttpd ---- /dev/null/nslu/etc/rc.d/rc.thttpd 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.thttpd 2004-09-01 21:59:13.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.thttpd ] && . /unslung/rc.thttpd ) ; then return 0 ; fi -+ - if [ -n "`pidof thttpd`" ] ;then - /bin/killall thttpd 2>/dev/null - fi -diff -BurN /dev/null/nslu/etc/rc.d/rc.xinetd /mnt/nslu/etc/rc.d/rc.xinetd ---- /dev/null/nslu/etc/rc.d/rc.xinetd 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.xinetd 2004-09-01 21:59:34.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.xinetd ] && . /unslung/rc.xinetd ) ; then return 0 ; fi -+ - if [ -n "`pidof inetd`" ] ;then - killall inetd 2>/dev/null - # killall -9 inetd &>/dev/null -diff -BurN /dev/null/nslu/usr/local/passwd /mnt/nslu/usr/local/passwd ---- /dev/null/nslu/usr/local/passwd 2004-07-27 23:37:56.000000000 -0400 -+++ /mnt/nslu/usr/local/passwd 2004-08-30 09:02:51.000000000 -0400 -@@ -1,4 +1,4 @@ --root:WeeOvKUvbQ6nI:0:0:root:/root:/bin/sh -+root:t1PLUeOinN/eI:0:0:root:/root:/bin/sh - bin:x:1:1:bin:/bin: - lp:x:4:7:lp:/share/spool: - mail:x:8:12:mail:/var/spool/mail: diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe deleted file mode 100644 index b45ff2d34a..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe +++ /dev/null @@ -1,36 +0,0 @@ -SECTION = "base" - -PR = "r9" - -UNSLUNG_VERSION = 2.7-alpha -UNSLUNG_SUFFIX = - -SRC_URI = "http://www.nslu2-linux.org/nslu2-linksys-ramdisk-2.3r25.tar.bz2 \ - file://linuxrc \ - file://flashfs \ - file://rc.unslung \ - file://unsling \ - file://unslung.patch \ - file://ipkg.conf" -S = "${WORKDIR}/nslu2-linksys-ramdisk-2.3r25" - -do_compile () { - sed -e s/X.Y/${UNSLUNG_VERSION}${UNSLUNG_SUFFIX}/ ${WORKDIR}/unslung.patch | patch -d ${S} -p3 - sed -i -e s/@version#/@version#-uNSLUng-${UNSLUNG_VERSION}${UNSLUNG_SUFFIX}/ ${S}/home/httpd/html/home.htm - sed -i -e 's|> <|><a href="Unslung" class="mainmenu" target="_top">Unslung Doco</a><|' \ - ${S}/home/httpd/html/manhead.htm - install -m 755 ${WORKDIR}/linuxrc ${S}/linuxrc - install -m 755 ${WORKDIR}/flashfs ${S}/sbin/flashfs - install -m 755 ${WORKDIR}/unsling ${S}/sbin/unsling - install -m 755 ${WORKDIR}/rc.unslung ${S}/etc/rc.d/rc.unslung - install -m 755 ${WORKDIR}/ipkg.conf ${S}/etc/ipkg.conf - install -d ${S}/opt/doc - ln -s /opt/doc ${S}/home/httpd/html/Unslung -} - -do_install () { - ( cd ${S} ; tar cvf - . ) | ( cd ${D} ; tar xvf - ) -} - -PACKAGES = "${PN}" -FILES_${PN} = "/" diff --git a/nslu2-binary-only/unslung-able-ramdisk_2.3r25.oe b/nslu2-binary-only/unslung-able-ramdisk_2.3r25.oe new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-able-ramdisk_2.3r25.oe diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/README b/nslu2-binary-only/unslung-ramdisk-2.3r25/README new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/README diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/able/mount_usbdevfs.patch b/nslu2-binary-only/unslung-ramdisk-2.3r25/able/mount_usbdevfs.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/able/mount_usbdevfs.patch diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/flashfs b/nslu2-binary-only/unslung-ramdisk-2.3r25/flashfs new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/flashfs diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/ipkg.conf b/nslu2-binary-only/unslung-ramdisk-2.3r25/ipkg.conf new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/ipkg.conf diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/linuxrc b/nslu2-binary-only/unslung-ramdisk-2.3r25/linuxrc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/linuxrc diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/rc.unslung b/nslu2-binary-only/unslung-ramdisk-2.3r25/rc.unslung new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/rc.unslung diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/unsling b/nslu2-binary-only/unslung-ramdisk-2.3r25/unsling new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/unsling diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/unslung.patch b/nslu2-binary-only/unslung-ramdisk-2.3r25/unslung.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/unslung.patch diff --git a/nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe b/nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe |