From 725611a466f2edf12f809d22339b22223af4afe7 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 7 Oct 2006 11:57:20 +0000 Subject: move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready git-svn-id: svn://svn.openwrt.org/openwrt/trunk@4944 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../package/base-files/default/etc/init.d/S10boot | 24 ---------------------- .../package/base-files/default/etc/init.d/S50httpd | 2 -- .../base-files/default/etc/init.d/S50telnet | 2 -- .../package/base-files/default/etc/init.d/S60cron | 4 ---- .../package/base-files/default/etc/init.d/S98done | 9 -------- openwrt/package/base-files/default/etc/init.d/rcS | 12 ----------- 6 files changed, 53 deletions(-) delete mode 100755 openwrt/package/base-files/default/etc/init.d/S10boot delete mode 100755 openwrt/package/base-files/default/etc/init.d/S50httpd delete mode 100755 openwrt/package/base-files/default/etc/init.d/S50telnet delete mode 100755 openwrt/package/base-files/default/etc/init.d/S60cron delete mode 100755 openwrt/package/base-files/default/etc/init.d/S98done delete mode 100755 openwrt/package/base-files/default/etc/init.d/rcS (limited to 'openwrt/package/base-files/default/etc/init.d') diff --git a/openwrt/package/base-files/default/etc/init.d/S10boot b/openwrt/package/base-files/default/etc/init.d/S10boot deleted file mode 100755 index 42bb43886..000000000 --- a/openwrt/package/base-files/default/etc/init.d/S10boot +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -. /etc/functions.sh - -[ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc -vconfig set_name_type VLAN_PLUS_VID_NO_PAD - -HOSTNAME=${wan_hostname%%.*} -echo ${HOSTNAME:=OpenWrt}>/proc/sys/kernel/hostname - -mkdir -p /var/run -mkdir -p /var/log -touch /var/log/wtmp -touch /var/log/lastlog -[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe - -for iface in $(/sbin/ifconfig -a | awk '{print $1}' | grep eth); do - /usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug net -done - -load_modules /etc/modules /etc/modules.d/* - -ifconfig lo 127.0.0.1 up -ifconfig eth0 promisc - diff --git a/openwrt/package/base-files/default/etc/init.d/S50httpd b/openwrt/package/base-files/default/etc/init.d/S50httpd deleted file mode 100755 index a1b883d0a..000000000 --- a/openwrt/package/base-files/default/etc/init.d/S50httpd +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -[ -d /www ] && httpd -p 80 -h /www -r OpenWrt diff --git a/openwrt/package/base-files/default/etc/init.d/S50telnet b/openwrt/package/base-files/default/etc/init.d/S50telnet deleted file mode 100755 index fb9687c8a..000000000 --- a/openwrt/package/base-files/default/etc/init.d/S50telnet +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -if awk -F: '/^root:/ && $2 !~ /\!/ {exit 1}' /etc/passwd 2>/dev/null; then telnetd -l /bin/login; fi diff --git a/openwrt/package/base-files/default/etc/init.d/S60cron b/openwrt/package/base-files/default/etc/init.d/S60cron deleted file mode 100755 index 175273426..000000000 --- a/openwrt/package/base-files/default/etc/init.d/S60cron +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -mkdir -p /var/spool/cron -ln -s /etc/crontabs /var/spool/cron/crontabs -crond -c /etc/crontabs diff --git a/openwrt/package/base-files/default/etc/init.d/S98done b/openwrt/package/base-files/default/etc/init.d/S98done deleted file mode 100755 index 5d5ab49ce..000000000 --- a/openwrt/package/base-files/default/etc/init.d/S98done +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -sysctl -p >&- - -# automagically run firstboot -{ mount|grep "on / type tmpfs" 1>&-; } && { - lock /tmp/.switch2jffs - firstboot switch2jffs - lock -u /tmp/.switch2jffs -} diff --git a/openwrt/package/base-files/default/etc/init.d/rcS b/openwrt/package/base-files/default/etc/init.d/rcS deleted file mode 100755 index b38e44978..000000000 --- a/openwrt/package/base-files/default/etc/init.d/rcS +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -${FAILSAFE:+exit} - -[ -f /etc/config/network ] && . /etc/config/network -eval $(ipcalc "$log_ipaddr") -[ "$log_ipaddr" = "$IP" ] || log_ipaddr="" -syslogd -C 16 ${log_ipaddr:+-L -R $log_ipaddr} -klogd -#${FAILSAFE:+telnetd -l /bin/login; ifup lan; exit} -for i in /etc/init.d/S*; do - $i start 2>&1 -done | logger -s -p 6 -t '' & -- cgit v1.2.3