summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/ostiary-3.4.ep
diff options
context:
space:
mode:
Diffstat (limited to 'encap/src/encap-profiles/ostiary-3.4.ep')
-rw-r--r--encap/src/encap-profiles/ostiary-3.4.ep16
1 files changed, 15 insertions, 1 deletions
diff --git a/encap/src/encap-profiles/ostiary-3.4.ep b/encap/src/encap-profiles/ostiary-3.4.ep
index c3d95c6c0..af5557e96 100644
--- a/encap/src/encap-profiles/ostiary-3.4.ep
+++ b/encap/src/encap-profiles/ostiary-3.4.ep
@@ -12,7 +12,7 @@
<environment
variable="CC"
- value="gcc"
+ value="gcc -static-libgcc"
type="set"
/>
@@ -115,6 +115,20 @@ test -d /usr/local/var/multilog/ostiary || mkdir /usr/local/var/multilog/ostiary
printf "Finished ostiary postinstall script.\n"
]]></include_file>
+<include_file name="preremove" mode="0755"><![CDATA[
+#!/bin/sh
+
+printf "Running ostiary preremove script...\n"
+date
+
+if [ -h /service/ostiary ]; then
+ printf "INFO: Removing /service/ostiary...\n"
+ /command/svrm /service/ostiary
+fi
+
+printf "Finished ostiary preremove script.\n"
+]]></include_file>
+
<encapinfo>
description Ostiary - Simple, Secure Remote Script Execution
</encapinfo>