Changeset 1913


Ignore:
Timestamp:
2005-09-13T12:59:54+02:00 (11 years ago)
Author:
wbx
Message:

add the possibility to use a script, idea by fulup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/base-files/default/usr/share/udhcpc/default.script

    r1494 r1913  
    11#!/bin/sh 
    22# udhcpc script edited by Tim Riker <Tim@Rikers.org> 
    3 # (slightly modified for openwrt) 
     3# (slightly modified for OpenWrt) 
    44 
    55[ -z "$1" ] && echo "Error: should be run by udhcpc" && exit 1 
     
    3333                        echo adding dns $i 
    3434                        echo nameserver $i >> $RESOLV_CONF 
     35 
     36                # user rules 
     37                [ -f /etc/udhcpc.user ] && . /etc/udhcpc.user 
     38 
    3539                done 
    3640                ;; 
Note: See TracChangeset for help on using the changeset viewer.