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
the standard commit-email utility from subversion
[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
..
2dc8438
100755
(executable)
--- a/
tunings-myplc-devel/init-d-plc-devel
+++ b/
tunings-myplc-devel/init-d-plc-devel
@@
-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