[Ultrapossum-cvs 1002] ultrapossum/module/server 1.57, 1.58, update-server

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 26日 (火) 12:35:13 JST


===================================================================
RCS file: ultrapossum/module/server/update-server,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- ultrapossum/module/server/update-server	2004/10/20 15:09:08	1.57
+++ ultrapossum/module/server/update-server	2004/10/26 03:35:13	1.58
@@ -28,6 +28,9 @@
 tmp=`tempfile`
 trap "rm -f $tmp; eval `ultrapossum-config term`" 0
 
+. $SHAREDIR/plugin
+id="SERVER"
+
 configure_slapd() {
   progress "Configuring OpenLDAP for $TYPE... "
 
@@ -316,25 +319,5 @@
   $SHAREDIR/sshman auth
 }
 
-case "x$1" in
-	xconfigure)
-		configure
-		ultrapossum-config set .status ULTRAPOSSUM_MODULE_SERVER=installed
-	;;
-	xremove)
-		remove
-		ultrapossum-config remove .status ULTRAPOSSUM_MODULE_SERVER
-	;;
-	xsanity)
-		sanity_check
-	;;
-	x)
-		echo "Usage: $0 <configure|remove|sanity>" 1>&2
-		exit 1
-	;;
-	x*)
-		echo "Unknown argument: $1" 1>&2
-		exit 1
-	;;
-esac
+update "$1"
 



Ultrapossum-cvs メーリングリストの案内
Back to archive index