summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/unslung-rootfs-2.3r25
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs-2.3r25')
-rw-r--r--packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc-diversion.patch10
-rw-r--r--packages/nslu2-binary-only/unslung-rootfs-2.3r25/upgrade-inhibit.htm0
2 files changed, 4 insertions, 6 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc-diversion.patch b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc-diversion.patch
index 5439637ee8..6f0e1ea0bf 100644
--- a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc-diversion.patch
+++ b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc-diversion.patch
@@ -1,6 +1,6 @@
--- nslu2-linksys-ramdisk-2.3r25/etc/rc~ 2004-07-27 23:37:55.000000000 -0400
+++ nslu2-linksys-ramdisk-2.3r25/etc/rc 2004-09-01 21:47:47.000000000 -0400
-@@ -1,4 +1,43 @@
+@@ -1,4 +1,41 @@
## Simple beta script to verify csr
+
+if ( [ -f /unslung/rc ] && . /unslung/rc ) ; then return 0 ; fi
@@ -11,12 +11,10 @@
+
+if [ -f /.ramdisk ] ; then
+ echo "Root filesystem is running in maintenance mode ..."
-+ ( cd /home/httpd/html/Management ; mv upgrade-maint.htm upgrade.htm )
-+fi
-+
-+if ( [ -f /.sda1root ] || [ -f /.sdb1root ] || [ -f /.sda2root ] || [ -f /.sdb2root ] ) ; then
-+ echo "Root filesystem is running from an external disk ..."
+ ( cd /home/httpd/html/Management ; cp upgrade-maint.htm upgrade.htm )
++elif ( [ -f /.sda1root ] || [ -f /.sdb1root ] || [ -f /.sda2root ] || [ -f /.sdb2root ] ) ; then
++ echo "Root filesystem is running from an external disk ..."
++ ( cd /home/httpd/html/Management ; cp upgrade-inhibit.htm upgrade.htm )
+fi
+
+# Wait for the USB disks to be recognised.
diff --git a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/upgrade-inhibit.htm b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/upgrade-inhibit.htm
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/upgrade-inhibit.htm