aboutsummaryrefslogtreecommitdiff
path: root/examples/etc/ninit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/etc/ninit/Makefile')
-rw-r--r--examples/etc/ninit/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/etc/ninit/Makefile b/examples/etc/ninit/Makefile
new file mode 100644
index 0000000..cb23b15
--- /dev/null
+++ b/examples/etc/ninit/Makefile
@@ -0,0 +1,10 @@
+all:
+ ps axuw | grep ninit > /tmp/ninit.memory
+ pstree >> /tmp/ninit.memory
+ cd / && tar -czf ~/public_html/ninit/ninit-data.tar.gz \
+ --exclude etc/ninit/run --exclude etc/ninit/sys \
+ --exclude etc/ninit/bin --exclude etc/ninit/.sync \
+ --exclude etc/ninit/.nsvc_help etc/ninit /tmp/ninit.memory
+ @rm -f /tmp/ninit.memory
+ ls -R -F /etc/ninit/ | sed -e '/^total /d' -e '/^Makefile/d' > \
+ ~/public_html/ninit/ls-R.txt