christoph87
Neuer User
- Mitglied seit
- 16 Apr 2009
- Beiträge
- 2
- Punkte für Reaktionen
- 0
- Punkte
- 0
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_setenvif.c
mod_ssl.c
while !(ping -c 1 www.avm.de); do
sleep 5;
done
ifconfig eth0:0 192.168.10.1 netmask 255.255.255.0 up
(hier in der Zeile hatte ich auch schon mal ein sleep 60; drin, ohne Erfolg, wieder draußen!)
/var/media/ftp/ST30700-0NS0/apache/apache-1.3.37/apache -f /var/media/ftp/ST30700-0NS0/apache/apache-1.3.37/config/apache.conf
#!/bin/sh
cat > /var/tmp/run_usb << 'ENDFILE'
#!/bin/sh
i=1
while [ $i -le 300 ]; do
if [ -e /var/media/ftp/usbdatenträgerdeines namens/zutestendedatei ]
then
/var/media/ftp/uStor02/tools/apache-1.3.37/apache -f /var/media/ftp/uStor02/tools/apache-1.3.37/conf/APACHE.CONF
exit 0
fi
sleep 1
i=`expr $i + 1`
done
exit 1
ENDFILE
chmod +x /var/tmp/run_usb
/var/tmp/run_usb &
# #!/bin/sh
# cat > /var/tmp/run_usb << 'ENDFILE'
> #!/bin/sh
> i=1
> while [ $i -le 30 ]; do
> if [ -e /var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/apache]
> then
> /var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/apache -f /var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/conf/apache.conf
> exit 0
> fi
> sleep 1
> i=`expr $i + 1`
> done
> exit 1
>
> ENDFILE
chmod +x /var/tmp/run_usb
/var/tmp/run_usb &# chmod +x /var/tmp/run_usb
# /var/tmp/run_usb &
# sh: missing ]
/var/tmp/run_usb: line 11: expr: not found
sh: 30: unknown operand
/var/tmp/run_usb &# chmod +x /var/tmp/run_usb
chmod +x /var/tmp/run_usb
/var/tmp/run_usb &
i=`expr $i + 1`
geändert zu:
set i=$i+1
#!/bin/sh
cat > /var/tmp/run_usb << 'ENDFILE'
#!/bin/sh
i=1
while [ $i -le 30 ]; do
if [ -e /var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/apache]
then
/var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/apache -f /var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/conf/apache.conf
exit 0
fi
sleep 1
set i=$i+1
done
exit 1
ENDFILE
chmod +x /var/tmp/run_usb
#!/bin/sh
/var/tmp/run_usb &
sh: missing ]
if [ -e /var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/apache]
PID Uid VSZ Stat Command
1 root 1424 S init
2 root SWN [ksoftirqd/0]
3 root SW [watchdog/0]
4 root SW< [events/0]
5 root SW< [khelper]
6 root SW< [kthread]
18 root SW< [kblockd/0]
32 root SW [pdflush]
33 root SW [pdflush]
34 root SW< [kswapd0]
35 root SW< [aio/0]
72 root SW [pm_info]
76 root SW< [CPMAC]
80 root SW [mtdblockd]
102 root SW [tffsd_mtd_0]
184 root SW [cleanup_timer_f]
227 root SW [dectuart_route]
235 root SWN [jffs2_gcd_mtd5]
264 root 1420 S cat /dev/debug
282 root 2720 S /usr/sbin/dsl_daemon -f /lib/modules/vinax_fw_adsl.bi
288 root 2720 S /usr/sbin/dsl_daemon -f /lib/modules/vinax_fw_adsl.bi
289 root 2720 S /usr/sbin/dsl_daemon -f /lib/modules/vinax_fw_adsl.bi
290 root 2720 S /usr/sbin/dsl_daemon -f /lib/modules/vinax_fw_adsl.bi
291 root 2720 S /usr/sbin/dsl_daemon -f /lib/modules/vinax_fw_adsl.bi
293 root 2720 S /usr/sbin/dsl_daemon -f /lib/modules/vinax_fw_adsl.bi
294 root 2720 S /usr/sbin/dsl_daemon -f /lib/modules/vinax_fw_adsl.bi
295 root 2720 S /usr/sbin/dsl_daemon -f /lib/modules/vinax_fw_adsl.bi
301 root 912 S /usr/sbin/vinax_atmoam
342 root SW< [capi_oslib]
343 root SW< [capi_oslib]
344 root SW [capitransp]
351 root SW [glob_codecs]
355 root SW [avm_dect_thread]
373 root SW< [khubd]
445 root 7744 S N ctlmgr
642 root SW< [scsi_eh_0]
643 root SW< [usb-storage]
724 root 7744 S N ctlmgr
726 root 7744 S N ctlmgr
728 root 7744 S N ctlmgr
730 root 2980 S hostapd -B /var/tmp/hostapd_topology-ath0
738 root 4432 S igdd
767 root 2704 S multid -t
774 root 3348 S dsld -i -n
783 root 2556 S tr069discover -v
843 root 4632 S telefon a127.0.0.1
846 root 1424 S telnetd -l /sbin/ar7login
848 root 4524 S < voipd
851 root 2528 S pbd
852 root 2528 S pbd
857 root 2528 S pbd
858 root 2528 S pbd
860 root 1424 S /usr/sbin/inetd
870 root 2492 S usermand
873 root 4632 S telefon a127.0.0.1
874 root 4632 S telefon a127.0.0.1
875 root 4632 S telefon a127.0.0.1
879 root 980 S /bin/run_clock -c /dev/tffs -d
883 root 1424 S init
885 root 3236 S dect_manager
887 root 2544 S /usr/bin/faxd -a
888 root 1748 S capiotcp_server -p5031 -m1
891 root 4432 S igdd
892 root 4432 S igdd
893 root 4432 S igdd
894 root 4632 S telefon a127.0.0.1
895 root 4632 S telefon a127.0.0.1
896 root 4632 S telefon a127.0.0.1
897 root 1440 S -sh
902 root 4120 S /bin/avmike
904 root RWN [kdsld_token]
989 root 1280 S /sbin/chronyd -f /var/tmp/chrony.conf
992 root 1424 R ps
#!/bin/sh
cat > /var/tmp/run_usb << 'ENDFILE'
#!/bin/sh
i=1
while [ $i -le 30 ]; do
if [ -e /var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/apache ]
then
/var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/apache -f /var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/conf/apache.conf
exit 0
fi
sleep 1
set i=$i+1
done
exit 1
ENDFILE
chmod +x /var/tmp/run_usb
/var/tmp/run_usb &
/var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/apache -f /var/media/ftp/ST350063-0NS-01/apache/apache-1.3.37/conf/apache.conf