aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/D10tmp6
-rw-r--r--examples/D15start-stop-daemon4
2 files changed, 10 insertions, 0 deletions
diff --git a/examples/D10tmp b/examples/D10tmp
new file mode 100644
index 0000000..b522a84
--- /dev/null
+++ b/examples/D10tmp
@@ -0,0 +1,6 @@
+#!/bin/bash
+#create $TMP and $TMPDIR
+[ -n "$TMP" -a ! -d "$TMP" ] && mkdir "$TMP"
+[ -n "$TMPDIR" -a ! -d "$TMPDIR" ] && mkdir "$TMPDIR"
+
+
diff --git a/examples/D15start-stop-daemon b/examples/D15start-stop-daemon
new file mode 100644
index 0000000..498bf68
--- /dev/null
+++ b/examples/D15start-stop-daemon
@@ -0,0 +1,4 @@
+#!/bin/bash
+# create a fake start-stop-daemon
+
+ln -sf /bin/true /sbin/start-stop-daemon