Changeset 5702


Ignorieren:
Zeitstempel:
02.09.2010 19:52:15 (vor 8 Jahren)
Autor:
cuma
Nachricht:

moved config-files to /tmp/flash/DAEMON/

  • openntpd
  • minicom

i'm sorry for r5698 & r5699, there were some problems with my internet connection/eclipse-workspcae

Ort:
trunk/make
Dateien:
1 hinzugefügt
3 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/openntpd/files/root/etc/default.openntpd/openntpd_conf

    r5699 r5702  
    1515esac 
    1616 
    17 if [ ! -e "/tmp/flash/ntpd.conf" ]; then 
    18 cat > /tmp/flash/ntpd.conf << EOF 
     17if [ ! -e "/tmp/flash/openntpd/ntpd.conf" ]; then 
     18cat > /tmp/flash/openntpd/ntpd.conf << EOF 
    1919# Addresses to listen on (ntpd does not listen by default) 
    2020# Use '*' to listen on every local interface 
  • trunk/make/openntpd/files/root/etc/default.openntpd/openntpd_conf.def

    r5699 r5702  
    1 CONFIG_FILE='/tmp/flash/ntpd.conf' 
     1CONFIG_FILE='/tmp/flash/openntpd/ntpd.conf' 
    22CONFIG_SAVE='modsave flash' 
    33CONFIG_TYPE='text' 
  • trunk/make/openntpd/files/root/etc/init.d/rc.openntpd

    r5699 r5702  
    88    modlib_config 
    99    [ -e "/var/db" ] || mkdir -p /var/db 
    10     [ -e "/mod/etc/ntpd.conf" ] || ln -s /tmp/flash/ntpd.conf /mod/etc/ntpd.conf 
     10    [ -e "/mod/etc/ntpd.conf" ] || ln -s /tmp/flash/openntpd/ntpd.conf /mod/etc/ntpd.conf 
    1111} 
    1212 
     
    2323case $1 in 
    2424    ""|load) 
     25        mkdir -p /tmp/flash/openntpd 
     26        #for compatibility reason only, may be removed later 
     27        [ -e /tmp/flash/ntpd.conf ] && mv /tmp/flash/ntpd.conf /tmp/flash/openntpd/ntpd.conf 
     28 
    2529        modlib_adduser ntp -G users -D -S -g "NTP daemon" 
    2630        mkdir -p /mod/home/ntp 
     
    3034        modreg cgi 'openntpd' 'Openntpd' 
    3135        [ "$CONFIG_FILE" != '/etc/ntpd.conf' ] && modreg file openntpd conf 'Openntpd config' 0 "openntpd_conf" 
    32          
     36 
    3337        modlib_start $OPENNTPD_ENABLED 
    3438        ;; 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.