diff options
| author | Klaatu <[email protected]> | 2015-05-17 15:35:50 +1200 |
|---|---|---|
| committer | Klaatu <[email protected]> | 2015-05-17 15:35:50 +1200 |
| commit | e6961c90da554ef46c84f94d0db5ef37bb23f0c2 (patch) | |
| tree | e71acaa2790bae3d5dc8c56300a33111a3255b84 /examples/etc/ninit/Makefile | |
| parent | b0de699679e8f1e39af847ed172d1ba605b4370c (diff) | |
example ninit scripts
Diffstat (limited to 'examples/etc/ninit/Makefile')
| -rw-r--r-- | examples/etc/ninit/Makefile | 10 |
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 |
