]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
autofs: use a symbolic link to /tmp instead of a dir for /var/lock
authorMarkham <markham001@gmx.de>
Tue, 10 Nov 2015 09:16:13 +0000 (10:16 +0100)
committerMarkham <markham001@gmx.de>
Tue, 10 Nov 2015 09:16:13 +0000 (10:16 +0100)
archive-patches/autofs.init

index 6dd916f8d530f4d1919d05b9d1a17f5c7e93ea5b..4d75318ad4d3533443ef6b763313300ee0774e7b 100644 (file)
@@ -50,7 +50,7 @@ case $1 in
                ;;
        start)
                # automount needs /var/lock or it will exit silently
-               [ ! -d /var/lock ] && mkdir -p /var/lock
+               [ ! -d /var/lock ] && ln -s /tmp /var/lock
                echo "starting the automounter..."
                automount $DAEMON_PARAMS
                ;;