Änderung 11746 von branches


Ignorieren:
Zeitstempel:
15.02.2014 19:47:45 (vor 4 Jahren)
Autor:
er13
Nachricht:

[stable-2.0]:

Ort:
branches/freetz-stable-2.0/make/mod/files/root/etc/init.d
Dateien:
1 hinzugefügt
1 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • branches/freetz-stable-2.0/make/mod/files/root/etc/init.d/rc.mod

    r11659 r11746  
    77DAEMON=mod 
    88. /etc/init.d/modlibrc 
     9. /etc/init.d/modlibfw 
    910 
    1011log() { 
     
    1718    log "rc.mod version $(cat /etc/.freetz-version)" 
    1819 
    19     if [ ! -e /tmp/flash/mod/dont_touch_https ]; then 
    20         ctlmgr_ctl w remoteman settings/enabled 0 >/dev/null 2>&1 
    21         log "Disabled remote https access." 
     20    if is_affected_by_remote_access_vulnerability; then 
     21        log "Firmware with remote access vulnerability detected." 
     22        if [ ! -e /tmp/flash/mod/dont_touch_https ]; then 
     23            log "Remote access via https will be disabled. Create /tmp/flash/mod/dont_touch_https if you don't want this behavior." 
     24            ctlmgr_ctl w remoteman settings/enabled 0 >/dev/null 2>&1 
     25        fi 
    2226    fi 
    2327 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.