написал скрипт: ================================================================== [wan@wan wan]$ cat /etc/rc.d/init.d/smbmount #!/bin/bash start() { mount -t smbfs -o iocharset=cp1251,codepage=cp866,password='' //otokc/x$ /mnt/otokc/x mount -t smbfs -o iocharset=cp1251,codepage=cp866,password='' //otokc/video /mnt/otokc/video } stop() { cd / umount /mnt/otokc/video umount /mnt/otokc/x } case "$1" in start) start ;; stop) stop ;; *) echo $"Usage: $0 {start|stop}" exit 1 esac exit $? [wan@wan wan]$ ================================================================ ...он, сволочь, первую строку выполняет и всё......ГДУ САБАКИ ПЯТКАМИ ТОПТАЛИСЬ?