diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-15 21:03:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-15 21:03:30 +0000 |
commit | 8612d336918b408fd3abd844ccb8189f0d64acc5 (patch) | |
tree | dd043a8580746d6ee54912206a873228401c12f7 /package/base-files/default/etc/init.d/S10boot | |
parent | 6f8a93af7ef4eafdd3d6f678398e6f5df2a5560d (diff) | |
download | upstream-8612d336918b408fd3abd844ccb8189f0d64acc5.tar.gz upstream-8612d336918b408fd3abd844ccb8189f0d64acc5.tar.bz2 upstream-8612d336918b408fd3abd844ccb8189f0d64acc5.zip |
init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
SVN-Revision: 5128
Diffstat (limited to 'package/base-files/default/etc/init.d/S10boot')
-rwxr-xr-x | package/base-files/default/etc/init.d/S10boot | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/package/base-files/default/etc/init.d/S10boot b/package/base-files/default/etc/init.d/S10boot deleted file mode 100755 index 77b5ca72d5..0000000000 --- a/package/base-files/default/etc/init.d/S10boot +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006 OpenWrt.org - -start() { - [ -f /proc/mounts ] || /sbin/mount_root - [ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc - vconfig set_name_type DEV_PLUS_VID_NO_PAD - - HOSTNAME=${wan_hostname%%.*} - echo ${HOSTNAME:=OpenWrt}>/proc/sys/kernel/hostname - - mkdir -p /var/run - mkdir -p /var/log - mkdir -p /var/lock - touch /var/log/wtmp - touch /var/log/lastlog - [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe - - # manually trigger hotplug before loading modules - for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do - /usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug net - done - - load_modules /etc/modules /etc/modules.d/* -} |