Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
bash http://forum.freesco.pl/viewtopic.php?f=22&t=17536 |
Strona 1 z 1 |
Autor: | jarosja [ sobota, 7 marca 2009, 16:28 ] |
Tytuł: | bash |
Witam, mam prozaiczne pytanie a jednak...... Jest pare.... komend które muszę wykonywać za każdym razem po reboocie. mount --bind /var/log /home/jaros/log mount --bind /home/www /home/jaros/www mount --bind /home/www/torrenty/users/torrent/Desktop/sesja /home/jaros/sesja mount --bind /home/www/torrenty/users/torrent/Desktop/pobierane /home/jaros/pobierane mount --bind /home/www/torrenty/users/torrent/Desktop/pobrane /home/jaros/pobrane mount --bind /home/www/torrenty/users/torrent/Desktop/napisy /home/jaros/napisy mount --bind /home/www/torrenty/users/torrent/Desktop/torrent /home/jaros/torrent mount --bind /home/www/torrenty/users/torrent/Desktop/sesja /home/torrent/sesja mount --bind /home/www/torrenty/users/torrent/Desktop/pobierane /home/torrent/pobierane mount --bind /home/www/torrenty/users/torrent/Desktop/pobrane /home/torrent/pobrane mount --bind /home/www/torrenty/users/torrent/Desktop/napisy /home/torrent/napisy mount --bind /home/www/torrenty/users/torrent/Desktop/torrent /home/torrent/torrent chmod 777 -R /home/www/torrenty/users/torrent/Desktop/sesja chmod 777 -R /home/www/torrenty/users/torrent/Desktop/pobierane chmod 777 -R /home/www/torrenty/users/torrent/Desktop/pobrane chmod 777 -R /home/www/torrenty/users/torrent/Desktop/napisy chmod 777 -R /home/www/torrenty/users/torrent/Desktop/torrent chmod 777 /home/www rm /home/www/torrenty/users/torrent/Desktop/sesja/rtorrent.lock Jak to zrobić żeby wykonywało się za automatu, pewnie jakiś bash w rc.d, ale jaki ??? |
Autor: | Kimas [ sobota, 7 marca 2009, 16:30 ] |
Tytuł: | |
dopisz je do /etc/rc.d/rc.local |
Autor: | jarosja [ niedziela, 8 marca 2009, 12:10 ] |
Tytuł: | |
Dzięki, dobrze wiedzieć ,że jest taki skrypt ![]() |
Strona 1 z 1 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |