Changeset 686


Ignore:
Timestamp:
2005-04-20T03:52:32+02:00 (13 years ago)
Author:
mbm
Message:

minor fs changes & cleanup

Location:
trunk/openwrt/target/default/target_skeleton
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/default/target_skeleton/etc/init.d/S10boot

    r549 r686  
    22klogd 
    33syslogd -C 16  
    4 sysctl -p 
    54echo "S" > /proc/jffs2_bbc 
    65 
     
    1615} 
    1716 
    18 # set up the vlan*ports variables for the asus wl-500g deluxe, if they aren't exist 
     17# set up the vlan*ports variables for the asus wl-500g deluxe 
     18# if they don't already exist  
    1919[ "$(nvram get boardtype)" = "bcm95365r" ] && \ 
    2020[ "$(nvram get boardnum)" = "45" ] && { 
     
    4141        { mount | grep jffs2 1>&-; } || firstboot 
    4242} 
     43 
     44sysctl -p 
  • trunk/openwrt/target/default/target_skeleton/etc/nvram.overrides

    r479 r686  
    66# Load sysconf defaults 
    77[ -f /etc/sysconf ] && . /etc/sysconf 
    8  
    9 [ "$(nvram get boardnum)"  = "asusX" ] && \ 
    10   [ "$(nvram get boardtype)"  = "bcm94710dev" ] && { 
    11   asus=1 
    12 } 
    138 
    149# linksys bug; remove when not using static configuration for lan 
     
    5550 
    5651# hack for asus wl-500g hardware 
    57 [ $asus ] && { 
    58     FAILSAFE_lan_ifnames="eth0 eth2" 
     52[ "$(nvram get boardnum)"  = "asusX" ] && \ 
     53[ "$(nvram get boardtype)"  = "bcm94710dev" ] && { 
     54  FAILSAFE_lan_ifnames="eth0 eth2" 
    5955} 
    6056 
  • trunk/openwrt/target/default/target_skeleton/rom/note

    r212 r686  
    1 After firstboot has been run, /rom will contain the previous (squashfs) root 
    2 * except when booted failsafe -- echo $FAILSAFE 
     1SQUASHFS USERS: 
     2After firstboot has been run, / will be jffs2 and /rom will be squashfs 
     3(* except when in failsafe) 
  • trunk/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script

    r658 r686  
    11#!/bin/sh 
    22# udhcpc script edited by Tim Riker <Tim@Rikers.org> 
    3 # (slightly modified) 
     3# (slightly modified for openwrt) 
    44 
    55[ -z "$1" ] && echo "Error: should be run by udhcpc" && exit 1 
     
    1414        renew|bound) 
    1515                ifconfig $interface $ip \ 
    16                 netmask ${subnet:-255.255.255.0} \                                                                       
    17                 broadcast ${broadcast:-+}                                                                                
     16                netmask ${subnet:-255.255.255.0} \ 
     17                broadcast ${broadcast:-+} 
    1818 
    1919                if [ -n "$router" ] ; then 
Note: See TracChangeset for help on using the changeset viewer.