add a check for brctl in the unbridge() function (fixes #1417)
[openwrt.git] / package / base-files / files / sbin / mount_root
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3
4 mount none /proc -t proc
5 size=$(awk '/Mem:/ {l=5242880;print((s=$2/2)<l)?$2-l:s}' /proc/meminfo)
6 mount none /tmp -t tmpfs -o size=$size,nosuid,nodev,mode=1777
7 mkdir -p /dev/pts
8 mount none /dev/pts -t devpts
9 mount -t sysfs none /sys 2>&-
10 mount -o remount,rw /dev/root /
This page took 0.040872 seconds and 5 git commands to generate.