Changeset 2886


Ignore:
Timestamp:
2006-01-10T22:23:14+01:00 (12 years ago)
Author:
nbd
Message:

fix typo in ntpclient hotplug script (#118)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/whiterussian/openwrt/package/ntpclient/files/ntpclient.init

    r2361 r2886  
    44        ifup) 
    55                ps x | grep '[n]tpclient' >&- || { 
    6                         route -n 2>&- | grep '0.0.0.0' >&- && /usr/sbin/ntpclient -c 1 -s -h ${server:-pool.ntp.org} & 
     6                        route -n 2>&- | grep '^0.0.0.0' >&- && /usr/sbin/ntpclient -c 1 -s -h ${server:-pool.ntp.org} & 
    77                } 
    88                ;; 
    99        ifdown) 
    10                 route -n 2>&- | grep '0.0.0.0' >&- || killall ntpclient 2>&- >&- ;; 
     10                route -n 2>&- | grep '^0.0.0.0' >&- || killall ntpclient 2>&- >&- ;; 
    1111esac 
Note: See TracChangeset for help on using the changeset viewer.