diff options
Diffstat (limited to 'openwrt/package/base-files/default/etc/init.d')
6 files changed, 0 insertions, 53 deletions
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 '' & |