[or-cvs] r17041: {torvm} Update Tor version to 0.2.1.6-alpha and improve init scripts (torvm/trunk/build/kamikaze/patches)
coderman at seul.org
coderman at seul.org
Sun Oct 5 04:55:09 UTC 2008
Author: coderman
Date: 2008-10-05 00:55:08 -0400 (Sun, 05 Oct 2008)
New Revision: 17041
Modified:
torvm/trunk/build/kamikaze/patches/001-kamikaze-tor-package.patch
torvm/trunk/build/kamikaze/patches/002-kamikaze-mod-basefiles.patch
Log:
Update Tor version to 0.2.1.6-alpha and improve init scripts, console ttys inside VM OS
Modified: torvm/trunk/build/kamikaze/patches/001-kamikaze-tor-package.patch
===================================================================
--- torvm/trunk/build/kamikaze/patches/001-kamikaze-tor-package.patch 2008-10-05 04:41:54 UTC (rev 17040)
+++ torvm/trunk/build/kamikaze/patches/001-kamikaze-tor-package.patch 2008-10-05 04:55:08 UTC (rev 17041)
@@ -1,7 +1,7 @@
-diff -Naur kamikaze-orig/package/tor/Makefile kamikaze-mod/package/tor/Makefile
---- kamikaze-orig/package/tor/Makefile 1970-01-01 00:00:00.000000000 +0000
-+++ kamikaze-mod/package/tor/Makefile 2008-08-09 21:54:19.244183045 +0000
-@@ -0,0 +1,113 @@
+diff -Naur orig-kamikaze/package/tor/Makefile mod-torpkg-kamikaze/package/tor/Makefile
+--- orig-kamikaze/package/tor/Makefile 1970-01-01 00:00:00.000000000 +0000
++++ mod-torpkg-kamikaze/package/tor/Makefile 2008-10-01 21:19:28.077996000 +0000
+@@ -0,0 +1,111 @@
+#
+# Copyright (C) 2008 OpenWrt.org
+#
@@ -14,15 +14,13 @@
+include $(INCLUDE_DIR)/kernel.mk
+
+PKG_NAME:=tor
-+#PKG_VERSION:=0.2.0.30
-+PKG_VERSION:=0.2.1.4-alpha
++PKG_VERSION:=0.2.1.6-alpha
+
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://www.torproject.org/dist/
-+#PKG_MD5SUM:=d37b582ee35b4f69564b0635a449b5f6
-+PKG_MD5SUM:=15f35f29102064ac6ff8fe1414f75aa5
++PKG_MD5SUM:=db49c016e3ec55773687207dfe556662
+
+include $(INCLUDE_DIR)/package.mk
+
@@ -115,10 +113,10 @@
+endef
+
+$(eval $(call BuildPackage,tor))
-diff -Naur kamikaze-orig/package/tor/files/tor.init kamikaze-mod/package/tor/files/tor.init
---- kamikaze-orig/package/tor/files/tor.init 1970-01-01 00:00:00.000000000 +0000
-+++ kamikaze-mod/package/tor/files/tor.init 2008-08-09 21:54:19.244183045 +0000
-@@ -0,0 +1,86 @@
+diff -Naur orig-kamikaze/package/tor/files/tor.init mod-torpkg-kamikaze/package/tor/files/tor.init
+--- orig-kamikaze/package/tor/files/tor.init 1970-01-01 00:00:00.000000000 +0000
++++ mod-torpkg-kamikaze/package/tor/files/tor.init 2008-10-04 12:44:54.731592482 +0000
+@@ -0,0 +1,89 @@
+#!/bin/sh
+
+BIN=tor
@@ -126,6 +124,7 @@
+HOME_D=/home/$BIN
+CONF_F=$HOME_D/torrc
+LOG_D=/var/log/$BIN
++LOG_F=$LOG_D/notices.log
+SLOG_F=$LOG_D/start.log
+DATA_D=$HOME_D/data
+RUN_D=/var/run/$BIN
@@ -151,6 +150,7 @@
+ [ -d $RUN_D ] || mkdir -p $RUN_D
+ chown $RUN_USER:$RUN_GROUP $RUN_D
+ chmod 700 $RUN_D
++ rm -f $LOG_F >/dev/null 2>&1
+ $BIN -f $CONF_F $OPTIONS > $SLOG_F 2>&1
+ # forcibly filter some traffic which should never go over Tor:
+ # no SMTP
@@ -171,7 +171,8 @@
+ # XXX TODO: replace this with a fail-safe shutdown
+ iptables -F
+ iptables -t nat -F
-+ [ -f $PID_F ] && kill $(cat $PID_F)
++ #[ -f $PID_F ] && kill $(cat $PID_F)
++ killall tor
+
+elif [ "$1" = "restart" ]; then
+ $0 stop
@@ -185,13 +186,13 @@
+ echo "Tor VM local network IP address: $MYIP"
+ echo
+ # check if we are fully bootstrapped yet
-+ grep 'Bootstrapped 100' /var/log/tor/notices.log >/dev/null 2>&1
++ grep 'Bootstrapped 100' $LOG_F >/dev/null 2>&1
+ if [ "$?" -ne "0" ]; then
+ echo "Tor is still trying to bootstrap into the network..."
+ echo "Be sure the Tor VM clock is correct and that your traffic"
+ echo " is not getting filtered upstream."
+ echo
-+ grep Bootstrapped /var/log/tor/notices.log | sed 's/.*Bootstrapped/Bootstrapped/' | tail -6
++ grep Bootstrapped $LOG_F | sed 's/.*Bootstrapped/Bootstrapped/' | tail -6
+ else
+ echo "Tor is fully connected into the Tor network."
+ echo "Transparent proxy traffic:"
@@ -205,10 +206,10 @@
+ exit 1
+fi
+exit 0
-diff -Naur kamikaze-orig/package/tor/files/torrc kamikaze-mod/package/tor/files/torrc
---- kamikaze-orig/package/tor/files/torrc 1970-01-01 00:00:00.000000000 +0000
-+++ kamikaze-mod/package/tor/files/torrc 2008-08-09 21:54:19.244183045 +0000
-@@ -0,0 +1,20 @@
+diff -Naur orig-kamikaze/package/tor/files/torrc mod-torpkg-kamikaze/package/tor/files/torrc
+--- orig-kamikaze/package/tor/files/torrc 1970-01-01 00:00:00.000000000 +0000
++++ mod-torpkg-kamikaze/package/tor/files/torrc 2008-10-01 21:23:43.794191444 +0000
+@@ -0,0 +1,24 @@
+# Configuration for Tor VM
+RunAsDaemon 1
+User tor
@@ -228,4 +229,8 @@
+VirtualAddrNetwork 10.254.0.0/16
+
+# Misc. options
++# note that we disable .exit notation to protect against some attacks
++AutomapHostsSuffixes .onion
+AutomapHostsOnResolve 1
++
++# options appended from command line placed below:
Modified: torvm/trunk/build/kamikaze/patches/002-kamikaze-mod-basefiles.patch
===================================================================
--- torvm/trunk/build/kamikaze/patches/002-kamikaze-mod-basefiles.patch 2008-10-05 04:41:54 UTC (rev 17040)
+++ torvm/trunk/build/kamikaze/patches/002-kamikaze-mod-basefiles.patch 2008-10-05 04:55:08 UTC (rev 17041)
@@ -1,6 +1,6 @@
-diff -Naur kamikaze-orig/package/base-files/Makefile kamikaze-mod/package/base-files/Makefile
---- kamikaze-orig/package/base-files/Makefile 2008-06-11 19:59:16.494753000 +0000
-+++ kamikaze-mod/package/base-files/Makefile 2008-07-30 07:52:16.058968545 +0000
+diff -Naur orig-kamikaze/package/base-files/Makefile mod-basefiles-kamikaze/package/base-files/Makefile
+--- orig-kamikaze/package/base-files/Makefile 2008-06-11 19:59:16.494753000 +0000
++++ mod-basefiles-kamikaze/package/base-files/Makefile 2008-10-03 00:31:58.158796852 +0000
@@ -36,8 +36,8 @@
URL:=http://openwrt.org/
VERSION:=$(PKG_RELEASE)-$(REVISION)
@@ -40,9 +40,9 @@
mkdir -p $(1)/root
ln -sf /proc/mounts $(1)/etc/mtab
rm -f $(1)/var
-diff -Naur kamikaze-orig/package/base-files/files/bin/entropy-update.sh kamikaze-mod/package/base-files/files/bin/entropy-update.sh
---- kamikaze-orig/package/base-files/files/bin/entropy-update.sh 1970-01-01 00:00:00.000000000 +0000
-+++ kamikaze-mod/package/base-files/files/bin/entropy-update.sh 2008-07-30 07:51:49.292304454 +0000
+diff -Naur orig-kamikaze/package/base-files/files/bin/entropy-update.sh mod-basefiles-kamikaze/package/base-files/files/bin/entropy-update.sh
+--- orig-kamikaze/package/base-files/files/bin/entropy-update.sh 1970-01-01 00:00:00.000000000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/bin/entropy-update.sh 2008-10-03 00:31:58.161094180 +0000
@@ -0,0 +1,7 @@
+#!/bin/sh
+rndfile="$1"
@@ -51,9 +51,9 @@
+ chmod 600 "$rndfile" >/dev/null 2>&1
+ sleep 60 >/dev/null 2>&1
+done
-diff -Naur kamikaze-orig/package/base-files/files/bin/firstboot kamikaze-mod/package/base-files/files/bin/firstboot
---- kamikaze-orig/package/base-files/files/bin/firstboot 2007-07-11 20:46:25.691898000 +0000
-+++ kamikaze-mod/package/base-files/files/bin/firstboot 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/bin/firstboot mod-basefiles-kamikaze/package/base-files/files/bin/firstboot
+--- orig-kamikaze/package/base-files/files/bin/firstboot 2007-07-11 20:46:25.691898000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/bin/firstboot 1970-01-01 00:00:00.000000000 +0000
@@ -1,126 +0,0 @@
-#!/bin/sh
-# $Id: firstboot 5544 2006-11-17 03:07:10Z nbd $
@@ -181,9 +181,9 @@
- mount "$mtdpart" /jffs -t jffs2
- fopivot /jffs /rom 1
-}
-diff -Naur kamikaze-orig/package/base-files/files/etc/banner kamikaze-mod/package/base-files/files/etc/banner
---- kamikaze-orig/package/base-files/files/etc/banner 2005-12-20 15:03:08.038259000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/banner 2008-07-30 07:52:16.058968545 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/banner mod-basefiles-kamikaze/package/base-files/files/etc/banner
+--- orig-kamikaze/package/base-files/files/etc/banner 2005-12-20 15:03:08.038259000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/banner 2008-10-03 00:31:58.161094180 +0000
@@ -1,10 +1,2 @@
- _______ ________ __
- | |.-----.-----.-----.| | | |.----.| |_
@@ -197,9 +197,9 @@
- ---------------------------------------------------
+Tor Virtual Machine BUILDDATE BUILDVER
+
-diff -Naur kamikaze-orig/package/base-files/files/etc/config/fstab kamikaze-mod/package/base-files/files/etc/config/fstab
---- kamikaze-orig/package/base-files/files/etc/config/fstab 2007-09-22 13:47:20.783817000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/config/fstab 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/config/fstab mod-basefiles-kamikaze/package/base-files/files/etc/config/fstab
+--- orig-kamikaze/package/base-files/files/etc/config/fstab 2007-09-22 13:47:20.783817000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/config/fstab 1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-config mount
- option target /home
@@ -211,9 +211,9 @@
-config swap
- option device /dev/sda2
- option enabled 0
-diff -Naur kamikaze-orig/package/base-files/files/etc/config/network kamikaze-mod/package/base-files/files/etc/config/network
---- kamikaze-orig/package/base-files/files/etc/config/network 2007-10-18 13:20:02.347557000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/config/network 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/config/network mod-basefiles-kamikaze/package/base-files/files/etc/config/network
+--- orig-kamikaze/package/base-files/files/etc/config/network 2007-10-18 13:20:02.347557000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/config/network 1970-01-01 00:00:00.000000000 +0000
@@ -1,14 +0,0 @@
-# Copyright (C) 2006 OpenWrt.org
-
@@ -229,16 +229,16 @@
- option proto static
- option ipaddr 192.168.1.1
- option netmask 255.255.255.0
-diff -Naur kamikaze-orig/package/base-files/files/etc/config/system kamikaze-mod/package/base-files/files/etc/config/system
---- kamikaze-orig/package/base-files/files/etc/config/system 2008-06-11 19:59:16.494753000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/config/system 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/config/system mod-basefiles-kamikaze/package/base-files/files/etc/config/system
+--- orig-kamikaze/package/base-files/files/etc/config/system 2008-06-11 19:59:16.494753000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/config/system 1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-config system
- option hostname OpenWrt
- option timezone UTC
-diff -Naur kamikaze-orig/package/base-files/files/etc/device_table.txt kamikaze-mod/package/base-files/files/etc/device_table.txt
---- kamikaze-orig/package/base-files/files/etc/device_table.txt 1970-01-01 00:00:00.000000000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/device_table.txt 2008-07-30 07:51:35.553139233 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/device_table.txt mod-basefiles-kamikaze/package/base-files/files/etc/device_table.txt
+--- orig-kamikaze/package/base-files/files/etc/device_table.txt 1970-01-01 00:00:00.000000000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/device_table.txt 2008-10-03 00:31:58.161094180 +0000
@@ -0,0 +1,44 @@
+#<name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>
+#/dev d 755 0 0 - - - - -
@@ -284,17 +284,17 @@
+/dev/sdh b 640 0 0 8 113 1 1 15
+/dev/sg c 640 0 0 21 0 0 1 15
+/dev/scd b 640 0 0 11 0 0 1 15
-diff -Naur kamikaze-orig/package/base-files/files/etc/diag.sh kamikaze-mod/package/base-files/files/etc/diag.sh
---- kamikaze-orig/package/base-files/files/etc/diag.sh 2007-05-10 19:19:23.337706000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/diag.sh 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/diag.sh mod-basefiles-kamikaze/package/base-files/files/etc/diag.sh
+--- orig-kamikaze/package/base-files/files/etc/diag.sh 2007-05-10 19:19:23.337706000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/diag.sh 1970-01-01 00:00:00.000000000 +0000
@@ -1,4 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
-
-set_state() :
-diff -Naur kamikaze-orig/package/base-files/files/etc/functions.sh kamikaze-mod/package/base-files/files/etc/functions.sh
---- kamikaze-orig/package/base-files/files/etc/functions.sh 2008-02-05 01:47:47.130132000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/functions.sh 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/functions.sh mod-basefiles-kamikaze/package/base-files/files/etc/functions.sh
+--- orig-kamikaze/package/base-files/files/etc/functions.sh 2008-02-05 01:47:47.130132000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/functions.sh 1970-01-01 00:00:00.000000000 +0000
@@ -1,211 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
@@ -507,16 +507,16 @@
-)}
-
-[ -z "$IPKG_INSTROOT" -a -f /lib/config/uci.sh ] && . /lib/config/uci.sh
-diff -Naur kamikaze-orig/package/base-files/files/etc/hotplug.d/iface/00-netstate kamikaze-mod/package/base-files/files/etc/hotplug.d/iface/00-netstate
---- kamikaze-orig/package/base-files/files/etc/hotplug.d/iface/00-netstate 2008-02-03 06:48:15.292457000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/hotplug.d/iface/00-netstate 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/hotplug.d/iface/00-netstate mod-basefiles-kamikaze/package/base-files/files/etc/hotplug.d/iface/00-netstate
+--- orig-kamikaze/package/base-files/files/etc/hotplug.d/iface/00-netstate 2008-02-03 06:48:15.292457000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/hotplug.d/iface/00-netstate 1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-[ ifup = "$ACTION" ] && {
- uci_set_state network "$INTERFACE" up 1
-}
-diff -Naur kamikaze-orig/package/base-files/files/etc/hotplug.d/iface/10-routes kamikaze-mod/package/base-files/files/etc/hotplug.d/iface/10-routes
---- kamikaze-orig/package/base-files/files/etc/hotplug.d/iface/10-routes 2008-06-06 18:49:23.308519000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/hotplug.d/iface/10-routes 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/hotplug.d/iface/10-routes mod-basefiles-kamikaze/package/base-files/files/etc/hotplug.d/iface/10-routes
+--- orig-kamikaze/package/base-files/files/etc/hotplug.d/iface/10-routes 2008-06-06 18:49:23.308519000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/hotplug.d/iface/10-routes 1970-01-01 00:00:00.000000000 +0000
@@ -1,67 +0,0 @@
-add_route() {
- local config="$1"
@@ -585,9 +585,9 @@
- config_foreach "add_route6" route6
- ;;
-esac
-diff -Naur kamikaze-orig/package/base-files/files/etc/hotplug.d/net/10-net kamikaze-mod/package/base-files/files/etc/hotplug.d/net/10-net
---- kamikaze-orig/package/base-files/files/etc/hotplug.d/net/10-net 2007-03-04 04:41:46.644094000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/hotplug.d/net/10-net 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/hotplug.d/net/10-net mod-basefiles-kamikaze/package/base-files/files/etc/hotplug.d/net/10-net
+--- orig-kamikaze/package/base-files/files/etc/hotplug.d/net/10-net 2007-03-04 04:41:46.644094000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/hotplug.d/net/10-net 1970-01-01 00:00:00.000000000 +0000
@@ -1,40 +0,0 @@
-# Copyright (C) 2006 OpenWrt.org
-
@@ -629,9 +629,9 @@
- addif
- ;;
-esac
-diff -Naur kamikaze-orig/package/base-files/files/etc/hotplug.d/usb/10-usb-storage kamikaze-mod/package/base-files/files/etc/hotplug.d/usb/10-usb-storage
---- kamikaze-orig/package/base-files/files/etc/hotplug.d/usb/10-usb-storage 2007-06-20 22:05:15.338323000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/hotplug.d/usb/10-usb-storage 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/hotplug.d/usb/10-usb-storage mod-basefiles-kamikaze/package/base-files/files/etc/hotplug.d/usb/10-usb-storage
+--- orig-kamikaze/package/base-files/files/etc/hotplug.d/usb/10-usb-storage 2007-06-20 22:05:15.338323000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/hotplug.d/usb/10-usb-storage 1970-01-01 00:00:00.000000000 +0000
@@ -1,13 +0,0 @@
-#!/bin/sh
-
@@ -646,9 +646,9 @@
- ;;
-esac
-
-diff -Naur kamikaze-orig/package/base-files/files/etc/hotplug2-common.rules kamikaze-mod/package/base-files/files/etc/hotplug2-common.rules
---- kamikaze-orig/package/base-files/files/etc/hotplug2-common.rules 2008-01-26 03:16:11.438222000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/hotplug2-common.rules 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/hotplug2-common.rules mod-basefiles-kamikaze/package/base-files/files/etc/hotplug2-common.rules
+--- orig-kamikaze/package/base-files/files/etc/hotplug2-common.rules 2008-01-26 03:16:11.438222000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/hotplug2-common.rules 1970-01-01 00:00:00.000000000 +0000
@@ -1,35 +0,0 @@
-
-DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio) {
@@ -685,18 +685,18 @@
- exec /sbin/hotplug-call firmware;
- next
-}
-diff -Naur kamikaze-orig/package/base-files/files/etc/hotplug2-init.rules kamikaze-mod/package/base-files/files/etc/hotplug2-init.rules
---- kamikaze-orig/package/base-files/files/etc/hotplug2-init.rules 2007-12-01 17:08:04.802538000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/hotplug2-init.rules 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/hotplug2-init.rules mod-basefiles-kamikaze/package/base-files/files/etc/hotplug2-init.rules
+--- orig-kamikaze/package/base-files/files/etc/hotplug2-init.rules 2007-12-01 17:08:04.802538000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/hotplug2-init.rules 1970-01-01 00:00:00.000000000 +0000
@@ -1,5 +0,0 @@
-$include /etc/hotplug2-common.rules
-
-SUBSYSTEM ~~ button {
- exec kill -USR1 1 ;
-}
-diff -Naur kamikaze-orig/package/base-files/files/etc/init.d/boot kamikaze-mod/package/base-files/files/etc/init.d/boot
---- kamikaze-orig/package/base-files/files/etc/init.d/boot 2008-06-16 19:37:00.739972000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/init.d/boot 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/init.d/boot mod-basefiles-kamikaze/package/base-files/files/etc/init.d/boot
+--- orig-kamikaze/package/base-files/files/etc/init.d/boot 2008-06-16 19:37:00.739972000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/init.d/boot 1970-01-01 00:00:00.000000000 +0000
@@ -1,66 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
@@ -764,9 +764,9 @@
-
- load_modules /etc/modules.d/*
-}
-diff -Naur kamikaze-orig/package/base-files/files/etc/init.d/done kamikaze-mod/package/base-files/files/etc/init.d/done
---- kamikaze-orig/package/base-files/files/etc/init.d/done 2007-05-10 14:37:47.286148000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/init.d/done 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/init.d/done mod-basefiles-kamikaze/package/base-files/files/etc/init.d/done
+--- orig-kamikaze/package/base-files/files/etc/init.d/done 2007-05-10 14:37:47.286148000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/init.d/done 1970-01-01 00:00:00.000000000 +0000
@@ -1,15 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
@@ -783,9 +783,9 @@
- . /etc/diag.sh
- set_state done
-}
-diff -Naur kamikaze-orig/package/base-files/files/etc/init.d/fstab kamikaze-mod/package/base-files/files/etc/init.d/fstab
---- kamikaze-orig/package/base-files/files/etc/init.d/fstab 2008-05-20 19:02:19.166035000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/init.d/fstab 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/init.d/fstab mod-basefiles-kamikaze/package/base-files/files/etc/init.d/fstab
+--- orig-kamikaze/package/base-files/files/etc/init.d/fstab 2008-05-20 19:02:19.166035000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/init.d/fstab 1970-01-01 00:00:00.000000000 +0000
@@ -1,66 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2007 OpenWrt.org
@@ -853,9 +853,9 @@
- config_foreach do_swapoff swap
-}
-
-diff -Naur kamikaze-orig/package/base-files/files/etc/init.d/network kamikaze-mod/package/base-files/files/etc/init.d/network
---- kamikaze-orig/package/base-files/files/etc/init.d/network 2008-04-15 16:29:49.167688000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/init.d/network 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/init.d/network mod-basefiles-kamikaze/package/base-files/files/etc/init.d/network
+--- orig-kamikaze/package/base-files/files/etc/init.d/network 2008-04-15 16:29:49.167688000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/init.d/network 1970-01-01 00:00:00.000000000 +0000
@@ -1,33 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
@@ -890,9 +890,9 @@
-stop() {
- ifdown -a
-}
-diff -Naur kamikaze-orig/package/base-files/files/etc/init.d/rcS kamikaze-mod/package/base-files/files/etc/init.d/rcS
---- kamikaze-orig/package/base-files/files/etc/init.d/rcS 2007-11-28 02:36:14.270663000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/init.d/rcS 2008-07-30 07:52:16.062307447 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/init.d/rcS mod-basefiles-kamikaze/package/base-files/files/etc/init.d/rcS
+--- orig-kamikaze/package/base-files/files/etc/init.d/rcS 2007-11-28 02:36:14.270663000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/init.d/rcS 2008-10-03 00:31:58.174427646 +0000
@@ -1,8 +1,2 @@
#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
@@ -903,9 +903,9 @@
- done
-} | logger -s -p 6 -t '' &
+exit 0
-diff -Naur kamikaze-orig/package/base-files/files/etc/init.d/sysctl kamikaze-mod/package/base-files/files/etc/init.d/sysctl
---- kamikaze-orig/package/base-files/files/etc/init.d/sysctl 2007-05-10 10:07:38.965405000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/init.d/sysctl 2008-07-30 07:52:16.062307447 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/init.d/sysctl mod-basefiles-kamikaze/package/base-files/files/etc/init.d/sysctl
+--- orig-kamikaze/package/base-files/files/etc/init.d/sysctl 2007-05-10 10:07:38.965405000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/init.d/sysctl 2008-10-03 00:31:58.174427646 +0000
@@ -1,7 +1,2 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
@@ -916,9 +916,9 @@
-}
+#!/bin/sh
+[ -f /etc/sysctl.conf ] && sysctl -p >&-
-diff -Naur kamikaze-orig/package/base-files/files/etc/init.d/umount kamikaze-mod/package/base-files/files/etc/init.d/umount
---- kamikaze-orig/package/base-files/files/etc/init.d/umount 2007-05-10 10:45:04.317089000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/init.d/umount 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/init.d/umount mod-basefiles-kamikaze/package/base-files/files/etc/init.d/umount
+--- orig-kamikaze/package/base-files/files/etc/init.d/umount 2007-05-10 10:45:04.317089000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/init.d/umount 1970-01-01 00:00:00.000000000 +0000
@@ -1,8 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
@@ -928,9 +928,9 @@
- sync
- umount -a -r
-}
-diff -Naur kamikaze-orig/package/base-files/files/etc/init.d/usb kamikaze-mod/package/base-files/files/etc/init.d/usb
---- kamikaze-orig/package/base-files/files/etc/init.d/usb 2007-04-06 16:07:36.852022000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/init.d/usb 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/init.d/usb mod-basefiles-kamikaze/package/base-files/files/etc/init.d/usb
+--- orig-kamikaze/package/base-files/files/etc/init.d/usb 2007-04-06 16:07:36.852022000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/init.d/usb 1970-01-01 00:00:00.000000000 +0000
@@ -1,9 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
@@ -941,9 +941,9 @@
- /bin/mount -t usbfs none /proc/bus/usb
- }
-}
-diff -Naur kamikaze-orig/package/base-files/files/etc/init.d/watchdog kamikaze-mod/package/base-files/files/etc/init.d/watchdog
---- kamikaze-orig/package/base-files/files/etc/init.d/watchdog 2008-04-03 21:01:16.263826000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/init.d/watchdog 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/init.d/watchdog mod-basefiles-kamikaze/package/base-files/files/etc/init.d/watchdog
+--- orig-kamikaze/package/base-files/files/etc/init.d/watchdog 2008-04-03 21:01:16.263826000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/init.d/watchdog 1970-01-01 00:00:00.000000000 +0000
@@ -1,7 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2008 OpenWrt.org
@@ -952,25 +952,34 @@
-start() {
- [ -c /dev/watchdog ] && watchdog -t 5 /dev/watchdog
-}
-diff -Naur kamikaze-orig/package/base-files/files/etc/inittab kamikaze-mod/package/base-files/files/etc/inittab
---- kamikaze-orig/package/base-files/files/etc/inittab 2007-05-10 14:50:42.865525000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/inittab 2008-07-30 07:52:16.062307447 +0000
-@@ -1,5 +1,3 @@
+diff -Naur orig-kamikaze/package/base-files/files/etc/inittab mod-basefiles-kamikaze/package/base-files/files/etc/inittab
+--- orig-kamikaze/package/base-files/files/etc/inittab 2007-05-10 14:50:42.865525000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/inittab 2008-10-03 21:31:03.750201376 +0000
+@@ -1,5 +1,11 @@
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop
-tts/0::askfirst:/bin/ash --login
-ttyS0::askfirst:/bin/ash --login
- tty1::askfirst:/bin/ash --login
-diff -Naur kamikaze-orig/package/base-files/files/etc/ipkg.conf kamikaze-mod/package/base-files/files/etc/ipkg.conf
---- kamikaze-orig/package/base-files/files/etc/ipkg.conf 2008-02-29 02:41:39.429442000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/ipkg.conf 1970-01-01 00:00:00.000000000 +0000
+-tty1::askfirst:/bin/ash --login
++tty1::respawn:/etc/init.d/tor status
++tty2::respawn:/bin/ash --login
++tty3::respawn:/bin/ash --login
++tty4::respawn:/bin/ash --login
++tty5::respawn:/bin/ash --login
++tty6::respawn:/bin/ash --login
++tty7::respawn:/bin/ash --login
++tty8::respawn:/bin/ash --login
++tty9::respawn:/bin/ash --login
+diff -Naur orig-kamikaze/package/base-files/files/etc/ipkg.conf mod-basefiles-kamikaze/package/base-files/files/etc/ipkg.conf
+--- orig-kamikaze/package/base-files/files/etc/ipkg.conf 2008-02-29 02:41:39.429442000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/ipkg.conf 1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-src snapshots http://downloads.openwrt.org/snapshots/$S/packages
-dest root /
-dest ram /tmp
-diff -Naur kamikaze-orig/package/base-files/files/etc/preinit kamikaze-mod/package/base-files/files/etc/preinit
---- kamikaze-orig/package/base-files/files/etc/preinit 2008-04-23 16:20:46.084166000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/preinit 2008-07-30 08:27:12.020008826 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/preinit mod-basefiles-kamikaze/package/base-files/files/etc/preinit
+--- orig-kamikaze/package/base-files/files/etc/preinit 2008-04-23 16:20:46.084166000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/preinit 2008-10-03 00:31:58.174427646 +0000
@@ -1,92 +1,163 @@
#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
@@ -1202,9 +1211,9 @@
+ d "Run /etc/init.d/tor status"
+ d " for bootstrap status."
fi
-diff -Naur kamikaze-orig/package/base-files/files/etc/rc.common kamikaze-mod/package/base-files/files/etc/rc.common
---- kamikaze-orig/package/base-files/files/etc/rc.common 2008-01-25 10:59:40.292163000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/rc.common 2008-07-30 07:52:16.065634988 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/rc.common mod-basefiles-kamikaze/package/base-files/files/etc/rc.common
+--- orig-kamikaze/package/base-files/files/etc/rc.common 2008-01-25 10:59:40.292163000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/rc.common 2008-10-03 00:31:58.174427646 +0000
@@ -1,92 +1,4 @@
#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
@@ -1301,9 +1310,9 @@
+# forcibly disable the usual init process
+# all start/stop activity is controlled by the TorVM controller.
+exit 0
-diff -Naur kamikaze-orig/package/base-files/files/etc/sysctl.conf kamikaze-mod/package/base-files/files/etc/sysctl.conf
---- kamikaze-orig/package/base-files/files/etc/sysctl.conf 2007-10-24 18:44:07.273843000 +0000
-+++ kamikaze-mod/package/base-files/files/etc/sysctl.conf 2008-07-30 07:52:16.065634988 +0000
+diff -Naur orig-kamikaze/package/base-files/files/etc/sysctl.conf mod-basefiles-kamikaze/package/base-files/files/etc/sysctl.conf
+--- orig-kamikaze/package/base-files/files/etc/sysctl.conf 2007-10-24 18:44:07.273843000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/etc/sysctl.conf 2008-10-03 00:31:58.174427646 +0000
@@ -1,14 +1,10 @@
kernel.panic=3
-net.ipv4.conf.default.arp_ignore=1
@@ -1322,9 +1331,9 @@
-net.ipv6.conf.all.forwarding=1
+net.ipv4.netfilter.ip_conntrack_udp_timeout=600
+net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=600
-diff -Naur kamikaze-orig/package/base-files/files/lib/config/parse_spec.awk kamikaze-mod/package/base-files/files/lib/config/parse_spec.awk
---- kamikaze-orig/package/base-files/files/lib/config/parse_spec.awk 2007-03-04 04:41:46.644094000 +0000
-+++ kamikaze-mod/package/base-files/files/lib/config/parse_spec.awk 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/lib/config/parse_spec.awk mod-basefiles-kamikaze/package/base-files/files/lib/config/parse_spec.awk
+--- orig-kamikaze/package/base-files/files/lib/config/parse_spec.awk 2007-03-04 04:41:46.644094000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/lib/config/parse_spec.awk 1970-01-01 00:00:00.000000000 +0000
@@ -1,255 +0,0 @@
-# AWK file for parsing uci specification files
-#
@@ -1581,9 +1590,9 @@
- section=""
- }
-}
-diff -Naur kamikaze-orig/package/base-files/files/lib/config/specs/network.spec kamikaze-mod/package/base-files/files/lib/config/specs/network.spec
---- kamikaze-orig/package/base-files/files/lib/config/specs/network.spec 2007-03-04 04:41:46.644094000 +0000
-+++ kamikaze-mod/package/base-files/files/lib/config/specs/network.spec 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/lib/config/specs/network.spec mod-basefiles-kamikaze/package/base-files/files/lib/config/specs/network.spec
+--- orig-kamikaze/package/base-files/files/lib/config/specs/network.spec 2007-03-04 04:41:46.644094000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/lib/config/specs/network.spec 1970-01-01 00:00:00.000000000 +0000
@@ -1,7 +0,0 @@
-interface[] {
- proto: string, required;
@@ -1592,9 +1601,9 @@
- gateway: ip;
- dns: ip;
-}
-diff -Naur kamikaze-orig/package/base-files/files/lib/config/template.awk kamikaze-mod/package/base-files/files/lib/config/template.awk
---- kamikaze-orig/package/base-files/files/lib/config/template.awk 2007-03-04 04:41:46.644094000 +0000
-+++ kamikaze-mod/package/base-files/files/lib/config/template.awk 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/lib/config/template.awk mod-basefiles-kamikaze/package/base-files/files/lib/config/template.awk
+--- orig-kamikaze/package/base-files/files/lib/config/template.awk 2007-03-04 04:41:46.644094000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/lib/config/template.awk 1970-01-01 00:00:00.000000000 +0000
@@ -1,42 +0,0 @@
-# Copyright (C) 2006 OpenWrt.org
-
@@ -1638,9 +1647,9 @@
- if_open = 0
- noprint = 0
-}
-diff -Naur kamikaze-orig/package/base-files/files/lib/config/validate.sh kamikaze-mod/package/base-files/files/lib/config/validate.sh
---- kamikaze-orig/package/base-files/files/lib/config/validate.sh 2007-03-04 04:41:46.644094000 +0000
-+++ kamikaze-mod/package/base-files/files/lib/config/validate.sh 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/lib/config/validate.sh mod-basefiles-kamikaze/package/base-files/files/lib/config/validate.sh
+--- orig-kamikaze/package/base-files/files/lib/config/validate.sh 2007-03-04 04:41:46.644094000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/lib/config/validate.sh 1970-01-01 00:00:00.000000000 +0000
@@ -1,74 +0,0 @@
-# Shell script defining validating configuration macros
-#
@@ -1716,9 +1725,9 @@
-
- return ${VALIDATE_RES:-0}
-)}
-diff -Naur kamikaze-orig/package/base-files/files/lib/config/validate_config.awk kamikaze-mod/package/base-files/files/lib/config/validate_config.awk
---- kamikaze-orig/package/base-files/files/lib/config/validate_config.awk 2007-03-04 04:41:46.644094000 +0000
-+++ kamikaze-mod/package/base-files/files/lib/config/validate_config.awk 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/lib/config/validate_config.awk mod-basefiles-kamikaze/package/base-files/files/lib/config/validate_config.awk
+--- orig-kamikaze/package/base-files/files/lib/config/validate_config.awk 2007-03-04 04:41:46.644094000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/lib/config/validate_config.awk 1970-01-01 00:00:00.000000000 +0000
@@ -1,105 +0,0 @@
-# AWK file for validating uci specification files
-#
@@ -1825,9 +1834,9 @@
- return valid
-}
-
-diff -Naur kamikaze-orig/package/base-files/files/lib/config/validate_spec.awk kamikaze-mod/package/base-files/files/lib/config/validate_spec.awk
---- kamikaze-orig/package/base-files/files/lib/config/validate_spec.awk 2007-03-04 04:41:46.644094000 +0000
-+++ kamikaze-mod/package/base-files/files/lib/config/validate_spec.awk 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/lib/config/validate_spec.awk mod-basefiles-kamikaze/package/base-files/files/lib/config/validate_spec.awk
+--- orig-kamikaze/package/base-files/files/lib/config/validate_spec.awk 2007-03-04 04:41:46.644094000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/lib/config/validate_spec.awk 1970-01-01 00:00:00.000000000 +0000
@@ -1,171 +0,0 @@
-# AWK file for validating uci specification files
-#
@@ -2000,9 +2009,9 @@
-END {
- validate_config()
-}
-diff -Naur kamikaze-orig/package/base-files/files/lib/network/config.sh kamikaze-mod/package/base-files/files/lib/network/config.sh
---- kamikaze-orig/package/base-files/files/lib/network/config.sh 2008-04-07 16:02:50.405821000 +0000
-+++ kamikaze-mod/package/base-files/files/lib/network/config.sh 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/lib/network/config.sh mod-basefiles-kamikaze/package/base-files/files/lib/network/config.sh
+--- orig-kamikaze/package/base-files/files/lib/network/config.sh 2008-04-07 16:02:50.405821000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/lib/network/config.sh 1970-01-01 00:00:00.000000000 +0000
@@ -1,228 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
@@ -2232,9 +2241,9 @@
- done
- }
-}
-diff -Naur kamikaze-orig/package/base-files/files/lib/upgrade/common.sh kamikaze-mod/package/base-files/files/lib/upgrade/common.sh
---- kamikaze-orig/package/base-files/files/lib/upgrade/common.sh 2008-06-04 23:20:56.755507000 +0000
-+++ kamikaze-mod/package/base-files/files/lib/upgrade/common.sh 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/lib/upgrade/common.sh mod-basefiles-kamikaze/package/base-files/files/lib/upgrade/common.sh
+--- orig-kamikaze/package/base-files/files/lib/upgrade/common.sh 2008-06-04 23:20:56.755507000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/lib/upgrade/common.sh 1970-01-01 00:00:00.000000000 +0000
@@ -1,151 +0,0 @@
-#!/bin/sh
-
@@ -2387,16 +2396,16 @@
- }
- ask_bool 1 "Reboot" && reboot
-}
-diff -Naur kamikaze-orig/package/base-files/files/rom/note kamikaze-mod/package/base-files/files/rom/note
---- kamikaze-orig/package/base-files/files/rom/note 2005-07-17 22:52:59.000000000 +0000
-+++ kamikaze-mod/package/base-files/files/rom/note 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/rom/note mod-basefiles-kamikaze/package/base-files/files/rom/note
+--- orig-kamikaze/package/base-files/files/rom/note 2005-07-17 22:52:59.000000000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/rom/note 1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-SQUASHFS USERS:
-After firstboot has been run, / will be jffs2 and /rom will be squashfs
-(* except when in failsafe)
-diff -Naur kamikaze-orig/package/base-files/files/sbin/hotplug-call kamikaze-mod/package/base-files/files/sbin/hotplug-call
---- kamikaze-orig/package/base-files/files/sbin/hotplug-call 2007-06-15 16:07:09.574671000 +0000
-+++ kamikaze-mod/package/base-files/files/sbin/hotplug-call 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/sbin/hotplug-call mod-basefiles-kamikaze/package/base-files/files/sbin/hotplug-call
+--- orig-kamikaze/package/base-files/files/sbin/hotplug-call 2007-06-15 16:07:09.574671000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/sbin/hotplug-call 1970-01-01 00:00:00.000000000 +0000
@@ -1,28 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
@@ -2426,9 +2435,9 @@
- [ -f $script ] && . $script
- ); done
-}
-diff -Naur kamikaze-orig/package/base-files/files/sbin/ifdown kamikaze-mod/package/base-files/files/sbin/ifdown
---- kamikaze-orig/package/base-files/files/sbin/ifdown 2008-02-03 06:48:15.292457000 +0000
-+++ kamikaze-mod/package/base-files/files/sbin/ifdown 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/sbin/ifdown mod-basefiles-kamikaze/package/base-files/files/sbin/ifdown
+--- orig-kamikaze/package/base-files/files/sbin/ifdown 2008-02-03 06:48:15.292457000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/sbin/ifdown 1970-01-01 00:00:00.000000000 +0000
@@ -1,66 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
@@ -2496,9 +2505,9 @@
-config_get iftype "$cfg" type
-[ "bridge" = "$iftype" ] && brctl delbr "$ifname" >/dev/null 2>/dev/null
-
-diff -Naur kamikaze-orig/package/base-files/files/sbin/ifup kamikaze-mod/package/base-files/files/sbin/ifup
---- kamikaze-orig/package/base-files/files/sbin/ifup 2006-10-24 23:59:08.851426000 +0000
-+++ kamikaze-mod/package/base-files/files/sbin/ifup 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/sbin/ifup mod-basefiles-kamikaze/package/base-files/files/sbin/ifup
+--- orig-kamikaze/package/base-files/files/sbin/ifup 2006-10-24 23:59:08.851426000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/sbin/ifup 1970-01-01 00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
@@ -2511,9 +2520,9 @@
-for dev in $ifname; do
- setup_interface "$dev" "$1"
-done
-diff -Naur kamikaze-orig/package/base-files/files/sbin/mount_root kamikaze-mod/package/base-files/files/sbin/mount_root
---- kamikaze-orig/package/base-files/files/sbin/mount_root 2007-05-31 12:09:08.638373000 +0000
-+++ kamikaze-mod/package/base-files/files/sbin/mount_root 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/sbin/mount_root mod-basefiles-kamikaze/package/base-files/files/sbin/mount_root
+--- orig-kamikaze/package/base-files/files/sbin/mount_root 2007-05-31 12:09:08.638373000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/sbin/mount_root 1970-01-01 00:00:00.000000000 +0000
@@ -1,25 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
@@ -2540,9 +2549,9 @@
- mtd unlock rootfs
- mount -o remount,rw /dev/root /
-}
-diff -Naur kamikaze-orig/package/base-files/files/sbin/sysupgrade kamikaze-mod/package/base-files/files/sbin/sysupgrade
---- kamikaze-orig/package/base-files/files/sbin/sysupgrade 2007-08-21 18:23:57.703561000 +0000
-+++ kamikaze-mod/package/base-files/files/sbin/sysupgrade 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/sbin/sysupgrade mod-basefiles-kamikaze/package/base-files/files/sbin/sysupgrade
+--- orig-kamikaze/package/base-files/files/sbin/sysupgrade 2007-08-21 18:23:57.703561000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/sbin/sysupgrade 1970-01-01 00:00:00.000000000 +0000
@@ -1,92 +0,0 @@
-#!/bin/sh
-. /etc/functions.sh
@@ -2636,9 +2645,9 @@
-
-v "Switching to ramdisk..."
-run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
-diff -Naur kamikaze-orig/package/base-files/files/sbin/usb-storage kamikaze-mod/package/base-files/files/sbin/usb-storage
---- kamikaze-orig/package/base-files/files/sbin/usb-storage 2007-11-04 15:12:08.860897000 +0000
-+++ kamikaze-mod/package/base-files/files/sbin/usb-storage 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/sbin/usb-storage mod-basefiles-kamikaze/package/base-files/files/sbin/usb-storage
+--- orig-kamikaze/package/base-files/files/sbin/usb-storage 2007-11-04 15:12:08.860897000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/sbin/usb-storage 1970-01-01 00:00:00.000000000 +0000
@@ -1,28 +0,0 @@
-#!/bin/sh
-
@@ -2668,9 +2677,9 @@
- sleep 1
-done
-
-diff -Naur kamikaze-orig/package/base-files/files/sbin/wifi kamikaze-mod/package/base-files/files/sbin/wifi
---- kamikaze-orig/package/base-files/files/sbin/wifi 2008-02-03 06:48:15.292457000 +0000
-+++ kamikaze-mod/package/base-files/files/sbin/wifi 1970-01-01 00:00:00.000000000 +0000
+diff -Naur orig-kamikaze/package/base-files/files/sbin/wifi mod-basefiles-kamikaze/package/base-files/files/sbin/wifi
+--- orig-kamikaze/package/base-files/files/sbin/wifi 2008-02-03 06:48:15.292457000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/sbin/wifi 1970-01-01 00:00:00.000000000 +0000
@@ -1,121 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
@@ -2793,9 +2802,9 @@
- detect) wifi_detect "$2";;
- *) wifi_updown "enable" "$2";;
-esac
-diff -Naur kamikaze-orig/package/base-files/files/usr/share/udhcpc/default.script kamikaze-mod/package/base-files/files/usr/share/udhcpc/default.script
---- kamikaze-orig/package/base-files/files/usr/share/udhcpc/default.script 2008-02-03 06:48:15.292457000 +0000
-+++ kamikaze-mod/package/base-files/files/usr/share/udhcpc/default.script 2008-07-30 07:52:16.068973866 +0000
+diff -Naur orig-kamikaze/package/base-files/files/usr/share/udhcpc/default.script mod-basefiles-kamikaze/package/base-files/files/usr/share/udhcpc/default.script
+--- orig-kamikaze/package/base-files/files/usr/share/udhcpc/default.script 2008-02-03 06:48:15.292457000 +0000
++++ mod-basefiles-kamikaze/package/base-files/files/usr/share/udhcpc/default.script 2008-10-03 00:31:58.177760879 +0000
@@ -1,33 +1,11 @@
#!/bin/sh
[ -z "$1" ] && echo "Error: should be run by udhcpc" && exit 1
More information about the tor-commits
mailing list