ice-client version R3.4.0-RC1

This commit is contained in:
Erik Horemans 2015-08-25 14:38:15 +02:00 committed by Sukru Senli
parent 39d271517a
commit c523558903

View file

@ -15,15 +15,15 @@ export PLATFORM_INCLUDE:=platforms/iopsys/build.mk
export DATE:=$(shell date +%Y-%m-%d-%H-%M-%S) export DATE:=$(shell date +%Y-%m-%d-%H-%M-%S)
export LOGIN:=$(shell whoami) export LOGIN:=$(shell whoami)
BASE_PKG_VERSION:=3.3.0 BASE_PKG_VERSION:=3.4.0
PKG_RELEASE:=RC7 PKG_RELEASE:=RC1
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN) PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN)
export PKG_VERSION export PKG_VERSION
###########################--RELEASE--################################ ###########################--RELEASE--################################
PKG_SOURCE_URL:=ssh://git@iopsys.inteno.se/ice-client.git PKG_SOURCE_URL:=ssh://git@iopsys.inteno.se/ice-client.git
PKG_SOURCE_VERSION:=af6020365ee859292bb78d0974053bc767e0fded PKG_SOURCE_VERSION:=7380810fcbfb5f44c2eb073df48a28942c81056d
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(BASE_PKG_VERSION) PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(BASE_PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(BASE_PKG_VERSION)-$(PKG_RELEASE).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(BASE_PKG_VERSION)-$(PKG_RELEASE).tar.gz
@ -103,11 +103,9 @@ endef
define Package/ice-client/preinst define Package/ice-client/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then echo "backup current config"
echo "backup current config" cp /etc/iopsys/server.ini /tmp/iopsysserver.ini
cp /etc/cloudfriends/server.ini /tmp/cloudfriendsserver.ini cp /etc/config/ice /tmp/ice.back
cp /etc/config/ice /tmp/ice.back
fi
exit 0 exit 0
endef endef
@ -123,27 +121,25 @@ define Package/ice-client/install
$(CP) $(PKG_BUILD_DIR)/scripts/scheduleiperf.sh $(1)/bin/ifs/iperf/execute $(CP) $(PKG_BUILD_DIR)/scripts/scheduleiperf.sh $(1)/bin/ifs/iperf/execute
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(CP) $(PKG_BUILD_DIR)/scripts/etc/config/ice $(1)/etc/config $(CP) $(PKG_BUILD_DIR)/scripts/etc/config/ice $(1)/etc/config
$(INSTALL_DIR) $(1)/etc/cloudfriends $(INSTALL_DIR) $(1)/etc/iopsys
$(CP) $(PKG_BUILD_DIR)/scripts/server.ini $(1)/etc/cloudfriends $(CP) $(PKG_BUILD_DIR)/scripts/server.ini $(1)/etc/iopsys
$(CP) $(PKG_BUILD_DIR)/scripts/modify.ini $(1)/etc/cloudfriends $(CP) $(PKG_BUILD_DIR)/scripts/modify.ini $(1)/etc/iopsys
$(CP) $(PKG_BUILD_DIR)/scripts/*.crt $(1)/etc/cloudfriends $(INSTALL_DIR) $(1)/etc/iopsys/certificates
$(CP) $(PKG_BUILD_DIR)/scripts/*.cer $(1)/etc/cloudfriends $(CP) $(PKG_BUILD_DIR)/scripts/cert_server_ca.pem $(1)/etc/iopsys/certificates
$(CP) $(PKG_BUILD_DIR)/scripts/*.pem $(1)/etc/cloudfriends $(CP) $(PKG_BUILD_DIR)/scripts/inteno_root_ca.pem $(1)/etc/iopsys/certificates
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(CP) $(PKG_BUILD_DIR)/scripts/ice-client $(1)/etc/init.d/ice-client $(CP) $(PKG_BUILD_DIR)/scripts/ice-client $(1)/etc/init.d/ice-client
endef endef
define Package/ice-client/postinst define Package/ice-client/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then echo "Enabling rc.d symlink for iopsys"
echo "Enabling rc.d symlink for cloudfriends" cp /tmp/iopsysserver.ini /etc/iopsys/server.ini
cp /tmp/cloudfriendsserver.ini /etc/cloudfriends/server.ini rm -f /tmp/iopsysserver.ini
rm -f /tmp/cloudfriendsserver.ini cp /tmp/ice.back /etc/config/ice
cp /tmp/ice.back /etc/config/ice rm -f /tmp/ice.back
rm -f /tmp/ice.back if [ -f "/etc/rc.d/S99ice-client" ]; then
if [ -f "/etc/rc.d/S99ice-client" ]; then /etc/init.d/ice-client start
/etc/init.d/ice-client start
fi
fi fi
exit 0 exit 0
endef endef
@ -163,47 +159,41 @@ endef
define Package/ice-client-camerawatch/prerm define Package/ice-client-camerawatch/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=cameramanager" > /tmp/cfin
/bin/echo "system moduleRemove topic=cameramanager" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-camerawatch/preinst define Package/ice-client-camerawatch/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=cameramanager" > /tmp/cfin
/bin/echo "system moduleRemove topic=cameramanager" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-camerawatch/install define Package/ice-client-camerawatch/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DIR) $(1)/etc/cloudfriends $(INSTALL_DIR) $(1)/etc/iopsys
$(CP) $(PKG_BUILD_DIR)/core/lib/camerawatch.so.1.0.1 $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/core/lib/camerawatch.so.1.0.1 $(1)/usr/lib
endef endef
define Package/ice-client-camerawatch/postinst define Package/ice-client-camerawatch/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then /bin/echo "system moduleAdd file=camerawatch.so.1.0.1" package="ice-client-camerawatch" > /tmp/cfin
/bin/echo "system moduleAdd file=camerawatch.so.1.0.1" package="ice-client-camerawatch" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -221,30 +211,26 @@ endef
define Package/ice-client-guest/prerm define Package/ice-client-guest/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=guestMgr" > /tmp/cfin
/bin/echo "system moduleRemove topic=guestMgr" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-guest/preinst define Package/ice-client-guest/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=guestMgr" > /tmp/cfin
/bin/echo "system moduleRemove topic=guestMgr" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
@ -256,11 +242,9 @@ endef
define Package/ice-client-guest/postinst define Package/ice-client-guest/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then /bin/echo "system moduleAdd file=guestService.so.1.0.1" package="ice-client-guest" > /tmp/cfin
/bin/echo "system moduleAdd file=guestService.so.1.0.1" package="ice-client-guest" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -278,30 +262,26 @@ endef
define Package/ice-client-openvpn/prerm define Package/ice-client-openvpn/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=ovpnMgr" > /tmp/cfin
/bin/echo "system moduleRemove topic=ovpnMgr" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-openvpn/preinst define Package/ice-client-openvpn/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=ovpnMgr" > /tmp/cfin
/bin/echo "system moduleRemove topic=ovpnMgr" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
@ -313,11 +293,9 @@ endef
define Package/ice-client-openvpn/postinst define Package/ice-client-openvpn/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then /bin/echo "system moduleAdd file=ovpnService.so.1.0.1" package="ice-client-openvpn" > /tmp/cfin
/bin/echo "system moduleAdd file=ovpnService.so.1.0.1" package="ice-client-openvpn" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -335,30 +313,26 @@ endef
define Package/ice-client-anyfi/prerm define Package/ice-client-anyfi/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=anyfiMgr" > /tmp/cfin
/bin/echo "system moduleRemove topic=anyfiMgr" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-anyfi/preinst define Package/ice-client-anyfi/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=anyfiMgr" > /tmp/cfin
/bin/echo "system moduleRemove topic=anyfiMgr" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
@ -370,11 +344,9 @@ endef
define Package/ice-client-anyfi/postinst define Package/ice-client-anyfi/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then /bin/echo "system moduleAdd file=anyfiService.so.1.0.1" package="ice-client-anyfi" > /tmp/cfin
/bin/echo "system moduleAdd file=anyfiService.so.1.0.1" package="ice-client-anyfi" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -392,30 +364,26 @@ endef
define Package/ice-client-netrounds/prerm define Package/ice-client-netrounds/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=netroundsMgr" > /tmp/cfin
/bin/echo "system moduleRemove topic=netroundsMgr" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-netrounds/preinst define Package/ice-client-netrounds/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=netroundsMgr" > /tmp/cfin
/bin/echo "system moduleRemove topic=netroundsMgr" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
@ -427,11 +395,9 @@ endef
define Package/ice-client-netrounds/postinst define Package/ice-client-netrounds/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then /bin/echo "system moduleAdd file=netroundsService.so.1.0.1" package="ice-client-netrounds" > /tmp/cfin
/bin/echo "system moduleAdd file=netroundsService.so.1.0.1" package="ice-client-netrounds" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -452,30 +418,26 @@ endef
define Package/ice-client-logreader/prerm define Package/ice-client-logreader/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=log" > /tmp/cfin
/bin/echo "system moduleRemove topic=log" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-logreader/preinst define Package/ice-client-logreader/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout /bin/echo "system moduleRemove topic=log" > /tmp/cfin
/bin/echo "system moduleRemove topic=log" > /tmp/cfin /bin/sleep 3
/bin/sleep 3
fi
fi fi
exit 0 exit 0
endef endef
@ -487,11 +449,9 @@ endef
define Package/ice-client-logreader/postinst define Package/ice-client-logreader/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then echo "system moduleAdd file=logService.so.1.0.1" package="ice-client-logreader" > /tmp/cfin
echo "system moduleAdd file=logService.so.1.0.1" package="ice-client-logreader" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -510,30 +470,26 @@ endef
define Package/ice-client-fileme/prerm define Package/ice-client-fileme/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=fileMeMgr" > /tmp/cfin
echo "system moduleRemove topic=fileMeMgr" > /tmp/cfin /bin/sleep 2
/bin/sleep 2
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-fileme/preinst define Package/ice-client-fileme/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=fileMeMgr" > /tmp/cfin
echo "system moduleRemove topic=fileMeMgr" > /tmp/cfin /bin/sleep 2
/bin/sleep 2
fi
fi fi
exit 0 exit 0
endef endef
@ -541,20 +497,18 @@ endef
define Package/ice-client-fileme/install define Package/ice-client-fileme/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/core/lib/filemeService.so.1.0.1 $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/core/lib/filemeService.so.1.0.1 $(1)/usr/lib
$(INSTALL_DIR) $(1)/etc/cloudfriends/fileme/lighttpd/conf.d $(INSTALL_DIR) $(1)/etc/iopsys/fileme/lighttpd/conf.d
$(CP) $(PKG_BUILD_DIR)/scripts/fileme/mime.conf $(1)/etc/cloudfriends/fileme/lighttpd $(CP) $(PKG_BUILD_DIR)/scripts/fileme/mime.conf $(1)/etc/iopsys/fileme/lighttpd
$(CP) $(PKG_BUILD_DIR)/scripts/fileme/conf.d/10-webdav.conf $(1)/etc/cloudfriends/fileme/lighttpd/conf.d $(CP) $(PKG_BUILD_DIR)/scripts/fileme/conf.d/10-webdav.conf $(1)/etc/iopsys/fileme/lighttpd/conf.d
$(INSTALL_DIR) $(1)/etc/cloudfriends/fileme/docroot/dav $(INSTALL_DIR) $(1)/etc/iopsys/fileme/docroot/dav
$(INSTALL_DIR) $(1)/etc/cloudfriends/fileme/docroot/shares $(INSTALL_DIR) $(1)/etc/iopsys/fileme/docroot/shares
endef endef
define Package/ice-client-fileme/postinst define Package/ice-client-fileme/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then echo "system moduleAdd file=filemeService.so.1.0.1" package="ice-client-fileme" > /tmp/cfin
echo "system moduleAdd file=filemeService.so.1.0.1" package="ice-client-fileme" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -572,28 +526,24 @@ endef
define Package/ice-client-example/prerm define Package/ice-client-example/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=example" > /tmp/cfin
echo "system moduleRemove topic=example" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-example/preinst define Package/ice-client-example/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=example" > /tmp/cfin
echo "system moduleRemove topic=example" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -605,11 +555,9 @@ endef
define Package/ice-client-example/postinst define Package/ice-client-example/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then echo "system moduleAdd file=exampleService.so.1.0.1" package="ice-client-example" > /tmp/cfin
echo "system moduleAdd file=exampleService.so.1.0.1" package="ice-client-example" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -627,28 +575,24 @@ endef
define Package/ice-client-iperf/prerm define Package/ice-client-iperf/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=iperfMgr" > /tmp/cfin
echo "system moduleRemove topic=iperfMgr" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-iperf/preinst define Package/ice-client-iperf/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=iperfMgr" > /tmp/cfin
echo "system moduleRemove topic=iperfMgr" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -664,11 +608,9 @@ endef
define Package/ice-client-iperf/postinst define Package/ice-client-iperf/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then echo "system moduleAdd file=iperfService.so.1.0.1" package="ice-client-iperf" > /tmp/cfin
echo "system moduleAdd file=iperfService.so.1.0.1" package="ice-client-iperf" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -686,28 +628,24 @@ endef
define Package/ice-client-rshell/prerm define Package/ice-client-rshell/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=rshellMgr" > /tmp/cfin
echo "system moduleRemove topic=rshellMgr" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-rshell/preinst define Package/ice-client-rshell/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=rshellMgr" > /tmp/cfin
echo "system moduleRemove topic=rshellMgr" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -719,11 +657,9 @@ endef
define Package/ice-client-rshell/postinst define Package/ice-client-rshell/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then echo "system moduleAdd file=rshellService.so.1.0.1" package="ice-client-rshell" > /tmp/cfin
echo "system moduleAdd file=rshellService.so.1.0.1" package="ice-client-rshell" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -741,28 +677,24 @@ endef
define Package/ice-client-rework/prerm define Package/ice-client-rework/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=rework" > /tmp/cfin
echo "system moduleRemove topic=rework" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-rework/preinst define Package/ice-client-rework/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=rework" > /tmp/cfin
echo "system moduleRemove topic=rework" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -776,11 +708,9 @@ endef
define Package/ice-client-rework/postinst define Package/ice-client-rework/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then echo "system moduleAdd file=reworkService.so.1.0.1" package="ice-client-rework" > /tmp/cfin
echo "system moduleAdd file=reworkService.so.1.0.1" package="ice-client-rework" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -798,28 +728,24 @@ endef
define Package/ice-client-sip/prerm define Package/ice-client-sip/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=sip" > /tmp/cfin
echo "system moduleRemove topic=sip" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-sip/preinst define Package/ice-client-sip/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=sip" > /tmp/cfin
echo "system moduleRemove topic=sip" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -831,11 +757,9 @@ endef
define Package/ice-client-sip/postinst define Package/ice-client-sip/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then echo "system moduleAdd file=sipService.so.1.0.1" package="ice-client-sip" > /tmp/cfin
echo "system moduleAdd file=sipService.so.1.0.1" package="ice-client-sip" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -853,28 +777,24 @@ endef
define Package/ice-client-monitor/prerm define Package/ice-client-monitor/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=monitor" > /tmp/cfin
echo "system moduleRemove topic=monitor" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-monitor/preinst define Package/ice-client-monitor/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=monitor" > /tmp/cfin
echo "system moduleRemove topic=monitor" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -886,11 +806,9 @@ endef
define Package/ice-client-monitor/postinst define Package/ice-client-monitor/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then echo "system moduleAdd file=monitorService.so.1.0.1" package="ice-client-monitor" > /tmp/cfin
echo "system moduleAdd file=monitorService.so.1.0.1" package="ice-client-monitor" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -925,28 +843,24 @@ endef
define Package/ice-client-torrent/prerm define Package/ice-client-torrent/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=torrentMgr" > /tmp/cfin
echo "system moduleRemove topic=torrentMgr" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-torrent/preinst define Package/ice-client-torrent/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=torrentMgr" > /tmp/cfin
echo "system moduleRemove topic=torrentMgr" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -958,11 +872,9 @@ endef
define Package/ice-client-torrent/postinst define Package/ice-client-torrent/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then echo "system moduleAdd file=torrentService.so.1.0.1" package="ice-client-torrent" > /tmp/cfin
echo "system moduleAdd file=torrentService.so.1.0.1" package="ice-client-torrent" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -980,28 +892,24 @@ endef
define Package/ice-client-gigaset/prerm define Package/ice-client-gigaset/prerm
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=gigaset" > /tmp/cfin
echo "system moduleRemove topic=gigaset" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
define Package/ice-client-gigaset/preinst define Package/ice-client-gigaset/preinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi PROC_ID=$$(cat /tmp/ice.pid)
PROC_ID=$$(cat /tmp/ice.pid) PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID}) if [ -n "$$PROC_EXISTS" ]; then
if [ -n "$$PROC_EXISTS" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout echo "system moduleRemove topic=gigaset" > /tmp/cfin
echo "system moduleRemove topic=gigaset" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef
@ -1013,11 +921,9 @@ endef
define Package/ice-client-gigaset/postinst define Package/ice-client-gigaset/postinst
#!/bin/sh #!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then read -t 1 <>/tmp/cfout
read -t 1 <>/tmp/cfout if [ -f /tmp/ice.pid ]; then
if [ -f /tmp/ice.pid ]; then echo "system moduleAdd file=gigasetService.so.1.0.1" package="ice-client-gigaset" > /tmp/cfin
echo "system moduleAdd file=gigasetService.so.1.0.1" package="ice-client-gigaset" > /tmp/cfin
fi
fi fi
exit 0 exit 0
endef endef