summaryrefslogtreecommitdiffstats
path: root/remote/rootfs
diff options
context:
space:
mode:
authorSimon Rettberg2013-05-09 16:41:51 +0200
committerSimon Rettberg2013-05-09 16:41:51 +0200
commit42b7fb6ea40803b3d5296f68c49e925dc44cdc5f (patch)
treeed9755b58a23619b1d801176444cc473c4e8ddfd /remote/rootfs
parentsefsrgwer:wq:Qwwqq (diff)
downloadtm-scripts-42b7fb6ea40803b3d5296f68c49e925dc44cdc5f.tar.gz
tm-scripts-42b7fb6ea40803b3d5296f68c49e925dc44cdc5f.tar.xz
tm-scripts-42b7fb6ea40803b3d5296f68c49e925dc44cdc5f.zip
only run mountexport if kcl contains "mount"
Diffstat (limited to 'remote/rootfs')
-rwxr-xr-xremote/rootfs/rootfs-stage32/data/etc/udhcpc.openslx.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/etc/udhcpc.openslx.script b/remote/rootfs/rootfs-stage32/data/etc/udhcpc.openslx.script
index d8ecddef..eddf3bd1 100755
--- a/remote/rootfs/rootfs-stage32/data/etc/udhcpc.openslx.script
+++ b/remote/rootfs/rootfs-stage32/data/etc/udhcpc.openslx.script
@@ -61,7 +61,7 @@ search lp.ruf.uni-freiburg.de
fi
# TODO i.e. event trigger
- [ "x$(grep -ci debug /proc/cmdline)" == "x0" ] && systemctl start nfs-mount.service
+ [ "x$(grep -ci mount /proc/cmdline)" == "x0" ] && systemctl start nfs-mount.service
;;