root@fritz:/etc/init.d# sh -x /etc/init.d/rc.mod
+ env - /bin/sh -c VERBOSE_RC_CONF=n; . /etc/init.d/rc.conf; unset PWD; env
+ sed -re s/^([^=]+)=(.*)$/export \1='\2'/
+ DAEMON=mod
+ . /etc/init.d/modlibrc
+ export PATH=/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin:/mod/etc/init.d:/sbin:/bin:/usr/sbin:/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ : mod
+ : mod
+ : mod_ENABLED
+ : /mod/etc/mod.conf
+ : mod
+ : /var/run/mod.pid
+ [ -n mod ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/mod.cfg
+ [ ! -r /mod/etc/conf/mod.cfg ]
+ . /mod/etc/conf/mod.cfg
+ export MOD_CGI_WIDTH=600
+ export MOD_CROND=no
+ export MOD_EXTERNAL_BEHAVIOUR=link
+ export MOD_EXTERNAL_DIRECTORY=/var/media/ftp/uStor01/external
+ export MOD_EXTERNAL_FREETZ_SERVICES=yes
+ export MOD_EXTERNAL_OWN_SERVICES=
+ export MOD_EXTERNAL_WAIT_INFINITE=no
+ export MOD_EXTERNAL_YEAR_MAX=2099
+ export MOD_EXTERNAL_YEAR_MIN=no
+ export MOD_GET_IP_METHOD=--all
+ export MOD_HTTPD=yes
+ export MOD_HTTPD_PASSWD=$1$$zO6d3zi9DefdWLMB.OHaO.
+ export MOD_HTTPD_PORT=81
+ export MOD_HTTPD_USER=freetz
+ export MOD_IPV6_ASSIGN=
+ export MOD_IPV6_FORWARD=no
+ export MOD_MOUNTED_MAIN=no
+ export MOD_MOUNTED_SUB=no
+ export MOD_MOUNTED_UMOUNT=yes
+ export MOD_RESOLV_ATTEMPTS=
+ export MOD_RESOLV_DNS=127.0.0.1
+ export MOD_RESOLV_TIMEOUT=
+ export MOD_SHOW_BOX_INFO=yes
+ export MOD_SHOW_FREETZ_INFO=yes
+ export MOD_SHOW_MEMORY_USAGE=no
+ export MOD_SHUTDOWN_FIRST=inetd
+ export MOD_SHUTDOWN_IGNORE=syslogd
+ export MOD_SHUTDOWN_LAST=cifsmount davfs2 autofs
+ export MOD_SKIN=legacy
+ export MOD_STOR_AUTORUNEND=no
+ export MOD_STOR_KILLBLOCKER=no
+ export MOD_STOR_PREFIX=uStor
+ export MOD_STOR_USELABEL=no
+ export MOD_SWAP=no
+ export MOD_SWAP_FILE=
+ export MOD_SWAP_SWAPPINESS=60
+ register
+ echo -ne \344
+ AUML=ä
+ modreg cgi mod Freetz
+ modreg conf mod webcfg Weboberfläche
+ modreg cgi avm AVM-Dienste
+ modreg_file .profile 0
+ local file=.profile sec_level=0
+ local basename=_profile
+ modreg file mod _profile .profile 0 _profile
+ modreg_file hosts 1
+ local file=hosts sec_level=1
+ local basename=hosts
+ modreg file mod hosts hosts 1 hosts
+ modreg_file modules 0
+ local file=modules sec_level=0
+ local basename=modules
+ modreg file mod modules modules 0 modules
+ modreg_file rc.custom 0
+ local file=rc.custom sec_level=0
+ local basename=rc_custom
+ modreg file mod rc_custom rc.custom 0 rc_custom
+ modreg_file shutdown 0
+ local file=shutdown sec_level=0
+ local basename=shutdown
+ modreg file mod shutdown shutdown 0 shutdown
+ [ -h /usr/bin/dtrace ]
+ [ -h /etc/udev/rules.d/00-custom.rules ]
+ [ -h /etc/udev/rules.d/99-custom.rules ]
+ /usr/lib/mod/reg-status start
+ start
+ cat /etc/.freetz-version
+ log rc.mod version freetz-devel-10934
+ [ rc.mod version freetz-devel-10934 == ]
+ echo rc.mod version freetz-devel-10934
rc.mod version freetz-devel-10934
+ logger -t FREETZMOD rc.mod version freetz-devel-10934
+ local pkg_default=/etc/default.crond
+ [ -d /etc/default.crond -a ! -e /mod/etc/default.crond ]
+ local rc=/etc/init.d/rc.crond
+ [ -e /etc/init.d/rc.crond -a ! -e /mod/etc/init.d/rc.crond ]
+ ln -s /etc/init.d/rc.crond /mod/etc/init.d/rc.crond
+ local pkg_default=/etc/default.telnetd
+ [ -d /etc/default.telnetd -a ! -e /mod/etc/default.telnetd ]
+ ln -s /etc/default.telnetd /mod/etc/default.telnetd
+ local rc=/etc/init.d/rc.telnetd
+ [ -e /etc/init.d/rc.telnetd -a ! -e /mod/etc/init.d/rc.telnetd ]
+ ln -s /etc/init.d/rc.telnetd /mod/etc/init.d/rc.telnetd
+ local pkg_default=/etc/default.webcfg
+ [ -d /etc/default.webcfg -a ! -e /mod/etc/default.webcfg ]
+ ln -s /etc/default.webcfg /mod/etc/default.webcfg
+ local rc=/etc/init.d/rc.webcfg
+ [ -e /etc/init.d/rc.webcfg -a ! -e /mod/etc/init.d/rc.webcfg ]
+ ln -s /etc/init.d/rc.webcfg /mod/etc/init.d/rc.webcfg
+ local pkg_default=/etc/default.dsld
+ [ -d /etc/default.dsld -a ! -e /mod/etc/default.dsld ]
+ local rc=/etc/init.d/rc.dsld
+ [ -e /etc/init.d/rc.dsld -a ! -e /mod/etc/init.d/rc.dsld ]
+ ln -s /etc/init.d/rc.dsld /mod/etc/init.d/rc.dsld
+ local pkg_default=/etc/default.ftpd
+ [ -d /etc/default.ftpd -a ! -e /mod/etc/default.ftpd ]
+ local rc=/etc/init.d/rc.ftpd
+ [ -e /etc/init.d/rc.ftpd -a ! -e /mod/etc/init.d/rc.ftpd ]
+ local pkg_default=/etc/default.multid
+ [ -d /etc/default.multid -a ! -e /mod/etc/default.multid ]
+ local rc=/etc/init.d/rc.multid
+ [ -e /etc/init.d/rc.multid -a ! -e /mod/etc/init.d/rc.multid ]
+ ln -s /etc/init.d/rc.multid /mod/etc/init.d/rc.multid
+ local pkg_default=/etc/default.swap
+ [ -d /etc/default.swap -a ! -e /mod/etc/default.swap ]
+ local rc=/etc/init.d/rc.swap
+ [ -e /etc/init.d/rc.swap -a ! -e /mod/etc/init.d/rc.swap ]
+ ln -s /etc/init.d/rc.swap /mod/etc/init.d/rc.swap
+ local pkg_default=/etc/default.external
+ [ -d /etc/default.external -a ! -e /mod/etc/default.external ]
+ local rc=/etc/init.d/rc.external
+ [ -e /etc/init.d/rc.external -a ! -e /mod/etc/init.d/rc.external ]
+ local pkg_default=/etc/default.websrv
+ [ -d /etc/default.websrv -a ! -e /mod/etc/default.websrv ]
+ local rc=/etc/init.d/rc.websrv
+ [ -e /etc/init.d/rc.websrv -a ! -e /mod/etc/init.d/rc.websrv ]
+ local pkg_default=/etc/default.smbd
+ [ -d /etc/default.smbd -a ! -e /mod/etc/default.smbd ]
+ ln -s /etc/default.smbd /mod/etc/default.smbd
+ local rc=/etc/init.d/rc.smbd
+ [ -e /etc/init.d/rc.smbd -a ! -e /mod/etc/init.d/rc.smbd ]
+ ln -s /etc/init.d/rc.smbd /mod/etc/init.d/rc.smbd
+ [ -d /tmp/flash ]
+ [ -e /usr/lib/cgi-bin/mod/conf/80-ipv6.sh -a -d /proc/sys/net/ipv6 ]
+ echo
+ grep -v ^ *#
+ read -r if6 ip6
+ [ -n -a -n ]
+ read -r if6 ip6
+ [ no == yes ]
+ local rc=/etc/init.d/rc.crond
+ [ -x /etc/init.d/rc.crond ]
+ /etc/init.d/rc.crond
crond is disabled.
+ log
+ [ == ]
+ return
+ local rc=/etc/init.d/rc.telnetd
+ [ -x /etc/init.d/rc.telnetd ]
+ /etc/init.d/rc.telnetd
+ log AVM telnetd is started by phone, failed.
+ [ AVM telnetd is started by phone, failed. == ]
+ echo AVM telnetd is started by phone, failed.
AVM telnetd is started by phone, failed.
+ logger -t FREETZMOD AVM telnetd is started by phone, failed.
+ local rc=/etc/init.d/rc.webcfg
+ [ -x /etc/init.d/rc.webcfg ]
+ /etc/init.d/rc.webcfg
+ log Starting Freetz webinterface ... done.
+ [ Starting Freetz webinterface ... done. == ]
+ echo Starting Freetz webinterface ... done.
Starting Freetz webinterface ... done.
+ logger -t FREETZMOD Starting Freetz webinterface ... done.
+ local rc=/etc/init.d/rc.dsld
+ [ -x /etc/init.d/rc.dsld ]
+ /etc/init.d/rc.dsld
+ log
+ [ == ]
+ return
+ local rc=/etc/init.d/rc.ftpd
+ [ -x /etc/init.d/rc.ftpd ]
+ local rc=/etc/init.d/rc.multid
+ [ -x /etc/init.d/rc.multid ]
+ /etc/init.d/rc.multid
+ log
+ [ == ]
+ return
+ local rc=/etc/init.d/rc.swap
+ [ -x /etc/init.d/rc.swap ]
+ /etc/init.d/rc.swap
swap is disabled.
+ log
+ [ == ]
+ return
+ local rc=/etc/init.d/rc.external
+ [ -x /etc/init.d/rc.external ]
+ local rc=/etc/init.d/rc.websrv
+ [ -x /etc/init.d/rc.websrv ]
+ [ -x /mod/etc/init.d/rc.external ]
+ cat /etc/static.pkg
+ [ usbroot = mod ]
+ local rc=/etc/init.d/rc.usbroot
+ [ -x /etc/init.d/rc.usbroot ]
+ echo
+ grep -q usbroot
+ /etc/init.d/rc.usbroot
+ log
+ [ == ]
+ return
+ [ syslogd = mod ]
+ local rc=/etc/init.d/rc.syslogd
+ [ -x /etc/init.d/rc.syslogd ]
+ echo
+ grep -q syslogd
+ /etc/init.d/rc.syslogd
+ log Starting syslogd ... done.
+ [ Starting syslogd ... done. == ]
+ echo Starting syslogd ... done.
Starting syslogd ... done.
+ logger -t FREETZMOD Starting syslogd ... done.
+ [ inetd = mod ]
+ local rc=/etc/init.d/rc.inetd
+ [ -x /etc/init.d/rc.inetd ]
+ echo
+ grep -q inetd
+ /etc/init.d/rc.inetd
+ log Starting inetd ... done.
+ [ Starting inetd ... done. == ]
+ echo Starting inetd ... done.
Starting inetd ... done.
+ logger -t FREETZMOD Starting inetd ... done.
+ [ avm-firewall = mod ]
+ local rc=/etc/init.d/rc.avm-firewall
+ [ -x /etc/init.d/rc.avm-firewall ]
+ echo
+ grep -q avm-firewall
+ /etc/init.d/rc.avm-firewall
+ log
+ [ == ]
+ return
+ [ e2fsprogs = mod ]
+ local rc=/etc/init.d/rc.e2fsprogs
+ [ -x /etc/init.d/rc.e2fsprogs ]
+ [ fstyp = mod ]
+ local rc=/etc/init.d/rc.fstyp
+ [ -x /etc/init.d/rc.fstyp ]
+ [ haserl = mod ]
+ local rc=/etc/init.d/rc.haserl
+ [ -x /etc/init.d/rc.haserl ]
+ [ inadyn-mt = mod ]
+ local rc=/etc/init.d/rc.inadyn-mt
+ [ -x /etc/init.d/rc.inadyn-mt ]
+ echo
+ grep -q inadyn-mt
+ /etc/init.d/rc.inadyn-mt
+ log Starting inadyn-mt ... done.
+ [ Starting inadyn-mt ... done. == ]
+ echo Starting inadyn-mt ... done.
Starting inadyn-mt ... done.
+ logger -t FREETZMOD Starting inadyn-mt ... done.
+ [ mod = mod ]
+ continue
+ [ modcgi = mod ]
+ local rc=/etc/init.d/rc.modcgi
+ [ -x /etc/init.d/rc.modcgi ]
+ [ ntfs = mod ]
+ local rc=/etc/init.d/rc.ntfs
+ [ -x /etc/init.d/rc.ntfs ]
+ [ vsftpd = mod ]
+ local rc=/etc/init.d/rc.vsftpd
+ [ -x /etc/init.d/rc.vsftpd ]
+ echo
+ grep -q vsftpd
+ /etc/init.d/rc.vsftpd
+ log Starting vsftpd ... done.
+ [ Starting vsftpd ... done. == ]
+ echo Starting vsftpd ... done.
Starting vsftpd ... done.
+ logger -t FREETZMOD Starting vsftpd ... done.
+ [ wget = mod ]
+ local rc=/etc/init.d/rc.wget
+ [ -x /etc/init.d/rc.wget ]
+ [ wol = mod ]
+ local rc=/etc/init.d/rc.wol
+ [ -x /etc/init.d/rc.wol ]
+ grep -q wol
+ echo
+ /etc/init.d/rc.wol
wol webinterface is disabled.
+ log
+ [ == ]
+ return
+ ls /var/plugin-*/control
+ plugins=
+ [ -n ]
+ [ -r /tmp/flash/mod/rc.custom ]
+ echo -n Starting rc.custom ...
Starting rc.custom ... + sh /tmp/flash/mod/rc.custom
+ echo done.
done.
+ touch /tmp/.modstarted
+ [ y = y -a -f /var/media/ftp/uStor01/external/.external ]
+ /usr/lib/mod/menu-update
+ log rc.mod finished.
+ [ rc.mod finished. == ]
+ echo rc.mod finished.
rc.mod finished.
+ logger -t FREETZMOD rc.mod finished.