Enviado em 15/06/2009 - 16:47h
Galera, é o seguinte, no meu rc.local esta assim ó:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
mount -t smbfs -o w,uid=1000,username=karine,passwd=karine //192.168.3.6/publico /home/cad2/rede/publico
mount -t smbfs -o w,uid=1000,username=karine,passwd=karine //192.168.3.6/sgs /home/cad2/rede/SGS
no meu Kubuntu 8.4 ele monta normalmente quando reinicio o micro... porem no Ubuntu 9.04 ele não monta no boot mas se eu der o comando manualmente ele monta... ou seja o problema não esta no script e sim quando ele reinicia, por mim tudo bem eu montava a pasta na mão... mas o usuario final da maquina não vai saber montar... eles querem tudo na mão, se poderem me ajudar! Vlw.
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
mount -t smbfs -o w,uid=1000,username=karine,passwd=karine //192.168.3.6/publico /home/cad2/rede/publico
mount -t smbfs -o w,uid=1000,username=karine,passwd=karine //192.168.3.6/sgs /home/cad2/rede/SGS
no meu Kubuntu 8.4 ele monta normalmente quando reinicio o micro... porem no Ubuntu 9.04 ele não monta no boot mas se eu der o comando manualmente ele monta... ou seja o problema não esta no script e sim quando ele reinicia, por mim tudo bem eu montava a pasta na mão... mas o usuario final da maquina não vai saber montar... eles querem tudo na mão, se poderem me ajudar! Vlw.