Würde gerne auf meinem RM LanGW ein Laufwerk mounten:
Code: Alles auswählen
mount -t nfs 192.xxx.xxx.xxx:/volume1/hmdata/ -o rw,nolock,hard,intr,relatime,fsc /mnt
lg Richard
Moderatoren: jmaus, Co-Administratoren
Code: Alles auswählen
mount -t nfs 192.xxx.xxx.xxx:/volume1/hmdata/ -o rw,nolock,hard,intr,relatime,fsc /mnt
Code: Alles auswählen
#!/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 nfs 192.xxx.xxx.xxx:/volume1/hmdata/ -o rw,nolock,hard,intr,relatime,fsc /mnt
exit 0
Code: Alles auswählen
@reboot mount -t nfs 192.xxx.xxx.xxx:/volume1/hmdata/ -o rw,nolock,hard,intr,relatime,fsc /mnt