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 ???