aboutsummaryrefslogtreecommitdiff
path: root/rc.boot
diff options
context:
space:
mode:
Diffstat (limited to 'rc.boot')
-rwxr-xr-xrc.boot7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc.boot b/rc.boot
index 66a90d8..fe6c921 100755
--- a/rc.boot
+++ b/rc.boot
@@ -4,7 +4,14 @@
. /etc/init/rc.conf
. INITDIR/rc.lib
+mnt() {
+ while read -r _ mnt _; do
+ case "$mnt" in "$1") return 0; esac
+ done < /proc/mounts
+ mnt="$1"; shift
+ mount "$@" "$mnt"
+}
PATH=/usr/bin:/usr/local/bin