Index: include/image.mk =================================================================== --- include/image.mk (revision 22269) +++ include/image.mk (working copy) @@ -15,7 +15,7 @@ override MAKE:=$(SUBMAKE) KDIR=$(KERNEL_BUILD_DIR) -IMG_PREFIX:=openwrt-$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET)) +IMG_PREFIX:=hostilewrt-$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET)) ifneq ($(CONFIG_BIG_ENDIAN),) JFFS2OPTS := --pad --big-endian --squash -v Index: target/linux/generic-2.6/patches-2.6.30/840-unable_to_open_console.patch =================================================================== --- target/linux/generic-2.6/patches-2.6.30/840-unable_to_open_console.patch (revision 22269) +++ target/linux/generic-2.6/patches-2.6.30/840-unable_to_open_console.patch (working copy) @@ -5,7 +5,7 @@ if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0) - printk(KERN_WARNING "Warning: unable to open an initial console.\n"); -+ printk(KERN_WARNING "Please be patient, while OpenWrt loads ...\n"); ++ printk(KERN_WARNING "Please be patient, while HostileWrt loads ...\n"); (void) sys_dup(0); (void) sys_dup(0); Index: target/linux/generic-2.6/patches-2.6.32/840-unable_to_open_console.patch =================================================================== --- target/linux/generic-2.6/patches-2.6.32/840-unable_to_open_console.patch (revision 22269) +++ target/linux/generic-2.6/patches-2.6.32/840-unable_to_open_console.patch (working copy) @@ -5,7 +5,7 @@ if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0) - printk(KERN_WARNING "Warning: unable to open an initial console.\n"); -+ printk(KERN_WARNING "Please be patient, while OpenWrt loads ...\n"); ++ printk(KERN_WARNING "Please be patient, while HostileWrt loads ...\n"); (void) sys_dup(0); (void) sys_dup(0); Index: target/linux/atheros/config-2.6.30 =================================================================== --- target/linux/atheros/config-2.6.30 (revision 22269) +++ target/linux/atheros/config-2.6.30 (working copy) @@ -84,7 +84,7 @@ CONFIG_INITRAMFS_SOURCE="" CONFIG_IP175C_PHY=y CONFIG_IRQ_CPU=y -# CONFIG_LEDS_GPIO is not set +CONFIG_LEDS_GPIO=y # CONFIG_LEMOTE_FULONG is not set # CONFIG_MACH_ALCHEMY is not set # CONFIG_MACH_DECSTATION is not set Index: package/block-mount/files/40-mount =================================================================== --- package/block-mount/files/40-mount (revision 22269) +++ package/block-mount/files/40-mount (working copy) @@ -7,6 +7,22 @@ . /lib/functions/block.sh +autorun() { + local device="$1" + local mount_point=$(grep "^/dev/$device" /proc/mounts | awk '{ print $2; }') + + [ -n "$mount_point" ] || return + + echo -n "checking for './autorun.sh' in '$mount_point'... " + + if [ -x $mount_point/autorun.sh ]; then + echo "yes" + ( cd $mount_point; ./autorun.sh <&- >&- 2>&-) + else + echo "no" + fi +} + blkdev=`dirname $DEVPATH` if [ `basename $blkdev` != "block" ]; then @@ -51,6 +67,7 @@ if [ -n "$mds_mount_target" ]; then grep -q "/dev/$device" /proc/swaps || grep -q "/dev/$device" /proc/mounts || { ( mkdir -p "$mds_mount_target" && mount "$mds_mount_target" ) 2>&1 | tee /proc/self/fd/2 | logger -t 'fstab' + ( autorun $device ) 2>&1 | tee /proc/self/fd/2 | logger -t 'fstab' } else logger -t 'fstab' "Mount enabled for $mds_mount_device but it doesn't have a defined mountpoint (target)" Index: package/block-mount/files/fstab.config =================================================================== --- package/block-mount/files/fstab.config (revision 22269) +++ package/block-mount/files/fstab.config (working copy) @@ -14,6 +14,14 @@ option enabled 0 option enabled_fsck 0 +config mount + option target /mnt/hostile + option label Hostile + option fstype ext3 + option options rw,sync + option enabled 1 + option enabled_fsck 1 + config swap option device /dev/sda2 option enabled 0 Index: package/block-mount/Makefile =================================================================== --- package/block-mount/Makefile (revision 22269) +++ package/block-mount/Makefile (working copy) @@ -9,7 +9,7 @@ PKG_NAME:=block-mount PKG_VERSION:=0.1.0 -PKG_RELEASE:=2 +PKG_RELEASE:=2.ho1 include $(INCLUDE_DIR)/package.mk Index: package/base-files/files/etc/init.d/boot =================================================================== --- package/base-files/files/etc/init.d/boot (revision 22269) +++ package/base-files/files/etc/init.d/boot (working copy) @@ -9,7 +9,7 @@ local hostname conloglevel timezone - config_get hostname "$cfg" hostname 'OpenWrt' + config_get hostname "$cfg" hostname 'HostileWrt' echo "$hostname" > /proc/sys/kernel/hostname config_get conloglevel "$cfg" conloglevel Index: package/base-files/files/etc/openwrt_release =================================================================== --- package/base-files/files/etc/openwrt_release (revision 22269) +++ package/base-files/files/etc/openwrt_release (working copy) @@ -1,4 +1,4 @@ -DISTRIB_ID="OpenWrt" +DISTRIB_ID="HostileWrt" DISTRIB_RELEASE="10.03" DISTRIB_CODENAME="backfire" -DISTRIB_DESCRIPTION="OpenWrt Backfire 10.03" +DISTRIB_DESCRIPTION="HostileWrt Backfire 10.03" Index: package/base-files/files/etc/config/system =================================================================== --- package/base-files/files/etc/config/system (revision 22269) +++ package/base-files/files/etc/config/system (working copy) @@ -1,5 +1,5 @@ config system - option hostname OpenWrt + option hostname HostileWrt option timezone UTC config rdate Index: package/base-files/files/etc/banner =================================================================== --- package/base-files/files/etc/banner (revision 22269) +++ package/base-files/files/etc/banner (working copy) @@ -1,10 +1,14 @@ - _______ ________ __ - | |.-----.-----.-----.| | | |.----.| |_ - | - || _ | -__| || | | || _|| _| - |_______|| __|_____|__|__||________||__| |____| - |__| W I R E L E S S F R E E D O M - Backfire (10.03, $R) -------------------------- - * 1/3 shot Kahlua In a shot glass, layer Kahlua - * 1/3 shot Bailey's on the bottom, then Bailey's, - * 1/3 shot Vodka then Vodka. - --------------------------------------------------- + + _______ __ __ __ ________ __ + | | |.-----..-----.| |_ |__|| |.-----.| | | |.----.| |_ + | || _ ||__ --|| _|| || || -__|| | | || _|| _| + |___|___||_____||_____||____||__||__||_____||________||__| |____| + + An embedded wireless security audit system + + Based on OpenWrt Backfire (10.03, $R) ------------------------ + * 1/3 shot Kahlua In a shot glass, layer Kahlua + * 1/3 shot Bailey's on the bottom, then Bailey's, + * 1/3 shot Vodka then Vodka. + ------------------------------------------------------------------ + Index: package/base-files/Makefile =================================================================== --- package/base-files/Makefile (revision 22269) +++ package/base-files/Makefile (working copy) @@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files -PKG_RELEASE:=43.2 +PKG_RELEASE:=43.2.ho1 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ Index: package/busybox/config/networking/Config.in =================================================================== --- package/busybox/config/networking/Config.in (revision 22269) +++ package/busybox/config/networking/Config.in (working copy) @@ -691,7 +691,7 @@ config BUSYBOX_CONFIG_PSCAN bool "pscan" - default n + default y help Simple network port scanner. @@ -922,7 +922,7 @@ config BUSYBOX_CONFIG_ZCIP bool "zcip" - default n + default y select BUSYBOX_CONFIG_FEATURE_SYSLOG help ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. Index: package/busybox/config/coreutils/Config.in =================================================================== --- package/busybox/config/coreutils/Config.in (revision 22269) +++ package/busybox/config/coreutils/Config.in (working copy) @@ -511,7 +511,7 @@ config BUSYBOX_CONFIG_SHA1SUM bool "sha1sum" - default n + default y help Compute and check SHA1 message digest Index: package/busybox/Makefile =================================================================== --- package/busybox/Makefile (revision 22269) +++ package/busybox/Makefile (working copy) @@ -9,7 +9,7 @@ PKG_NAME:=busybox PKG_VERSION:=1.15.3 -PKG_RELEASE:=2 +PKG_RELEASE:=2.ho1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.busybox.net/downloads \ Index: feeds.conf =================================================================== --- feeds.conf (revision 0) +++ feeds.conf (revision 0) @@ -0,0 +1,2 @@ +src-link hostilewrt_packages ../../hostilewrt/package/openwrt +src-link openwrt_packages ../../openwrt-packages