Changeset 539 for bin/start.sh
- Timestamp:
- May 26, 2013, 10:23:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bin/start.sh
r200 r539 1 1 #!/bin/sh 2 3 echo Nastavuji restart po kernel panic4 echo 1 > /proc/sys/kernel/panic5 6 #echo Nacitam pravidla firewallu...7 #iptables-restore /etc/sysconfig/iptables8 2 9 3 echo Mazu nohup... … … 17 11 date >> /a/log/boot.log 18 12 19 echo Zapinam numlock...20 /a/bin/n umlock.sh&13 echo Spoustim kontrolu online pocitacu... 14 /a/bin/netwatch.sh& 21 15 22 #echo Spoustim pripojeni k internetu 23 #/usr/local/bin/cdma_log.sh>/a/log/cdma_log.log 2>/a/log/cdma_log.err& 24 25 #echo Vypinam zalozni disk... 26 #/sbin/hdparm -y /dev/hdc 27 28 echo Spoustim kontrolu online pocitacu... 29 /a/bin/netwatch.sh>/a/log/netwatch.log 2>/a/log/netwatch.err& 16 echo Spoustim mereni meteostanice... 17 /a/bin/meteo.sh& 30 18 31 19 echo Spoustim zaznam statistik... 32 /a/bin/monitor.sh >/a/log/monitor.log 2>/a/log/monitor.err& 33 34 echo Spoustim kontrolu zatizeni internetu... 35 /a/bin/bandwidth.sh >/a/log/bandwidth.log 2>/a/log/bandwidth.err& 36 37 echo Spoustim NAT... 38 /a/bin/nat.sh 20 /a/bin/monitor.sh& 39 21 40 22 #echo Spoustim DNS server... 41 23 #/a/bin/named.sh >/a/log/named.log OC2>/a/log/named.err& 42 24 43 #echo Spoustim VPN...44 #/usr/local/bin/vpn.sh >/a/log/vpn.log 2>/a/log/vpn.err&45 46 #echo Spoustim ReqTrans Server47 #/usr/bin/php -q /var/www/html/rqtserver.php >>/a/log/reqtrans.log 2>/a/log/reqtrans.err&48 49 #echo Spoustim Sunrisechat database updater...50 #/usr/local/bin/chat.sh >/a/log/chat.log 2>/a/log/chat.err&51 52 #echo Spoustim UDP broadcast forwarder...53 #/usr/local/bin/udp_forwarder.sh 2>/a/log/udp_forwarder.err&54 55 #echo Spoustim mereni teploty...56 #/a/bin/temperature>/a/log/temperature.log&57 58 #echo Spoustim VMWare Workstation s Windows 2003 Server..59 #su vmware -c /usr/local/bin/vmware.sh >/a/log/vmware.log 2>/a/log/vmware.err&60 61 #echo Cekam 30 sekund...62 #sleep 3063 64 #echo Startuji bezdratove pripojeni...65 #/usr/local/bin/wlan.sh&66 67 echo Startuji traffic shaping...68 /a/bin/traffic_shaping.sh >/a/log/traffic_shaping.log 2>/a/log/traffic_shaping.err&69 70 #echo Zaznam existujicich MAC adres...71 #/usr/bin/php /a/sys/statistic/known_mac.php >/a/log/known_mac.log 2>/a/log/known_mac.err&72 73 25 echo Restartovani nastaveni... 74 26 /a/bin/config_restarter.sh >/a/log/config_restarter.log 2>/a/log/config_restarter.err& 75 27 76 #echo Zaznam sitovych pripojeni...77 #/usr/bin/php /a/sys/statistic/connections.php >/a/log/connections.log 2>/a/log/connections.err&78 79 echo Cyklicke pingovani nixu...80 /a/bin/ping_nix.sh&81 82 echo Pridavam smerovaci informace...83 /a/bin/route.sh >/a/log/route.log 2>/a/log/route.err&84 85 28 echo Refresh webkamery... 86 /a/bin/webcam.sh >/a/log/webcam.log 2>/a/log/webcam.err& 29 mount -t tmpfs -o size=100m tmpfs /a/www/zdechovnet/images/webcam 30 /a/bin/webcam1.sh >/a/log/webcam1.log 2>/a/log/webcam1.err& 31 /a/bin/webcam2.sh >/a/log/webcam2.log 2>/a/log/webcam2.err& 32 /a/bin/webcam3.sh >/a/log/webcam3.log 2>/a/log/webcam3.err& 33 /a/bin/webcam4.sh >/a/log/webcam4.log 2>/a/log/webcam4.err& 87 34 88 35 echo Import aktualit... 89 36 /a/bin/import_news.sh >/a/log/import_news.log 2>/a/log/import_news.err& 37 38 #echo NetFlow... 39 #/a/bin/net-flow.sh >/a/log/net-flow.log 2>/a/log/net-flow.err& 40 41 #echo OpenERP server... 42 #/a/bin/openerp-server.sh >/a/log/openerp-server.log 2>/a/log/openerp-server.err& 43 44 #echo OpenERP web client... 45 #/a/bin/openerp-web.sh >/a/log/openerp-web.log 2>/a/log/openerp-web.err&
Note:
See TracChangeset
for help on using the changeset viewer.