[Lunar-commits] lunar-init: Change netmount to also umount cifs based filesystems

Moritz Heiber moe at lunar-linux.org
Tue Dec 4 13:49:29 CET 2007


commit 62ca4915c67433b93f7e0c5c824bc3a57e8d8c0e
Author: Moritz Heiber <moe at lunar-linux.org>
Date:   Tue Dec 4 13:47:51 2007 +0100

    lunar-init: Change netmount to also umount cifs based filesystems
---
 utils/lunar-init/netmount |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/utils/lunar-init/netmount b/utils/lunar-init/netmount
index 19cea6d..1cb54d3 100644
--- a/utils/lunar-init/netmount
+++ b/utils/lunar-init/netmount
@@ -7,20 +7,20 @@
 
 
 start() {
-  mount -t nfs,nfs4,smbfs -a                              && 
-    echo -e "Mounting network shares:$RESULT_OK"     ||
+  mount -t nfs,nfs4,smbfs,cifs -a && 
+    echo -e "Mounting network shares:$RESULT_OK" ||
     echo -e "Mounting network shares:$RESULT_FAIL"
 }
 
 stop() {
-  umount -t nfs,nfs4,smbfs -a -f -l                       &&
-    echo -e "Unmounting network shares:$RESULT_OK"   ||
+  umount -t nfs,nfs4,smbfs,cifs -a -f -l &&
+    echo -e "Unmounting network shares:$RESULT_OK" ||
     echo -e "Unmounting network shares:$RESULT_FAIL"
 }
 
 # to avoid confusion we force only these options as being valid:
 case "$1" in
-  start|stop|uninstall|install) ;;
+  start|stop) ;;
            *) echo  "Usage: $0 {start|stop}"  ;;
 esac
 


More information about the Lunar-commits mailing list