Jemand fit mit Linux hier? ich leider nicht.
ich möchte gerne 2 Verzeichnisse meiner NAS automatisch beim Start mounten. Hab dazu das hier in in die rc.local geschrieben:
#!/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 -o username=admin,passwort:config //192.168.2.180/photo /home/sabine/Bilder/Fotos/
mount -o username=admin,passwort:config //192.168.2.180/video /home/sabine/Videos
exit 0
klappt aber irgendwie nicht. Wenn ich rc.local manuell start gehts. An was kann das liegen?
Besten Dank für einen Tip.
ich möchte gerne 2 Verzeichnisse meiner NAS automatisch beim Start mounten. Hab dazu das hier in in die rc.local geschrieben:
#!/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 -o username=admin,passwort:config //192.168.2.180/photo /home/sabine/Bilder/Fotos/
mount -o username=admin,passwort:config //192.168.2.180/video /home/sabine/Videos
exit 0
klappt aber irgendwie nicht. Wenn ich rc.local manuell start gehts. An was kann das liegen?
Besten Dank für einen Tip.