git://git.onelab.eu
/
infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes location of local repository
[infrastructure.git]
/
tunings-myplc-devel
/
init-d-plc-devel
diff --git
a/tunings-myplc-devel/init-d-plc-devel
b/tunings-myplc-devel/init-d-plc-devel
index
88dcffe
..
342bfc4
100755
(executable)
--- 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
#
#
# 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
#
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
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
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: "
{
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
if mounted $dir ; then
umount $dir
check
@@
-132,7
+133,7
@@
stop ()
mountstatus_plc ()
{
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
if mounted $dir ; then
echo $dir
fi