summaryrefslogtreecommitdiffstats
path: root/src/etc/init.d/mountall
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-21 23:47:24 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-21 23:47:24 (EDT)
commit9cf9428ad12c2956fd3e0b5e22ca74c5a79fa31b (patch)
treee665d0e1a84c51b95b8b60a4b60ebf42952f11be /src/etc/init.d/mountall
parentc39e8931d7d9049e34a7b4bed4a512572528fa20 (diff)
Add a "mountall" service script.
Diffstat (limited to 'src/etc/init.d/mountall')
-rw-r--r--src/etc/init.d/mountall10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/etc/init.d/mountall b/src/etc/init.d/mountall
new file mode 100644
index 0000000..5675752
--- /dev/null
+++ b/src/etc/init.d/mountall
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+case "${1}" in
+ start)
+ mount -a
+ ;;
+ stop)
+ umount -a -r
+ ;;
+esac