X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tunings-myplc-devel%2Finit-d-plc-devel;h=342bfc4ef45a48011ff730d94596df63b3b04935;hb=d147e925a91da7782420713c75c8d3b075cf8196;hp=88dcffe63e77f1236f889a33f24cdf10320d3b9a;hpb=6fa6232cececc6e96e80eb1f4b6085e1f4632836;p=infrastructure.git diff --git a/tunings-myplc-devel/init-d-plc-devel b/tunings-myplc-devel/init-d-plc-devel index 88dcffe..342bfc4 100755 --- a/tunings-myplc-devel/init-d-plc-devel +++ b/tunings-myplc-devel/init-d-plc-devel @@ -6,7 +6,7 @@ # # description: Manages all PLC services on this machine # -# $Id: host.init,v 1.7.2.4 2006/08/21 21:21:11 mlhuang Exp $ +# $Id$ # PATH=/sbin:/bin:/usr/bin:/usr/sbin @@ -75,6 +75,7 @@ mount_plc () mount -t none -o bind,ro /data/fedora $PLC_ROOT/data/fedora check fi + fi if [ -d /svn ] ; then if ! mounted $PLC_ROOT/svn ; then mount -t none -o bind,ro /svn $PLC_ROOT/svn @@ -106,7 +107,7 @@ umount_plc () { echo -n $"Unmounting PLC: " - for dir in $PLC_ROOT/proc $PLC_ROOT/data/fedora $PLC_ROOT/svn $PLC_ROOT/data $PLC_ROOT ; do + for dir in $PLC_ROOT/proc $PLC_ROOT/svn $PLC_ROOT/data/fedora $PLC_ROOT/data $PLC_ROOT ; do if mounted $dir ; then umount $dir check @@ -132,7 +133,7 @@ stop () mountstatus_plc () { - for dir in $PLC_ROOT/proc $PLC_ROOT/data/fedora$PLC_ROOT/svn $PLC_ROOT/data $PLC_ROOT ; do + for dir in $PLC_ROOT/proc $PLC_ROOT/svn $PLC_ROOT/data/fedora $PLC_ROOT/data $PLC_ROOT ; do if mounted $dir ; then echo $dir fi