Changeset 3792

Show
Ignore:
Timestamp:
08/27/08 18:23:52 (3 months ago)
Author:
markus
Message:

added on demand ntpd restart

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/freewrt_1_0/package/busybox/files/hso.if-up

    r3788 r3792  
    1717        USER="$IF_HSO_USERNAME" PASS="${IF_HSO_PASSWORD}" comgt -s -d "$TTY" /etc/comgt/hsoauth.comgt 
    1818fi 
     19 
     20# load rc data to restart ntpd on demand 
     21. /etc/rc.conf 
    1922 
    2023# only run once! 
     
    4750                echo "nameserver $NS1" >  /tmp/resolv.conf 
    4851                echo "nameserver $NS2" >> /tmp/resolv.conf 
     52                 
     53 
     54                test x"${ntpd:-YES}" = x"YES" && /etc/init.d/S55ntpd restart 
     55 
    4956        fi 
    5057        sleep 10