Changeset 12310


Ignore:
Timestamp:
2008-08-14T18:45:55+02:00 (8 years ago)
Author:
blogic
Message:

remove stupid feature from ntpclient hotplug script and remove whitespace errors

Location:
packages/net/ntpclient/files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/ntpclient/files/ntpclient.config

    r12305 r12310  
    2020config ntpclient 
    2121        option interval 60 
    22         option iface    wan 
    2322        #option count   10 
  • packages/net/ntpclient/files/ntpclient.hotplug

    r12305 r12310  
    44. /etc/functions.sh 
    55 
    6 unset IFACE 
    76unset SERVER 
    87unset PORT 
     
    4645        config_get interval $1 interval 
    4746        config_get count $1 count 
    48         config_get iface $1 iface 
    4947         
    50         [ -n "$iface" ] && IFACE=$iface 
    5148        [ -n "$count" ] && COUNT=$count 
    5249        [ -n "$interval" ] && INTERVAL=$interval 
     
    5653config_foreach load_settings ntpclient 
    5754 
    58 # check if we only listen to a single iface 
    59 [ -n "$IFACE" -a "$IFACE" != "$INTERFACE" ] && exit 0  
    60  
    61 DEF_ROUTE=`route -n | grep '^0.0.0.0'`                                      
     55DEF_ROUTE=`route -n | grep '^0.0.0.0'` 
    6256NTP_RUNNING=`ps  | grep $NTPC | grep -v grep` 
    6357 
Note: See TracChangeset for help on using the changeset viewer.