summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-08 18:27:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-08 18:27:28 +0100
commit8fd3d1b92ae596cac05f96854df221c33ac72385 (patch)
treeb824f368e87df208ae5ed2f637a77c54e1499f59 /package/base-files
parentd76b4656b658a042ac683c90706697f7e9920858 (diff)
safe one line
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/src/init7
2 files changed, 4 insertions, 5 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 56e30e431..e3eb84fbf 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 27
+PKG_RELEASE:= 28
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
diff --git a/package/base-files/src/init b/package/base-files/src/init
index 0031b63c3..553cb5b3d 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -4,10 +4,9 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
mount -nt proc proc /proc
mount -o nosuid,nodev,noexec -t sysfs sysfs /sys
[ ! -f /etc/notmpfs ] && {
- size=$(cat /etc/tmpfs 2>/dev/null)
- [ -z $size ] && size=2048
- mount none /tmp -t tmpfs -o size=${size}k
- mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777
+ size=$(cat /etc/tmpfs 2>/dev/null)
+ [ -z $size ] && size=2048
+ mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777,size=${size}k
}
mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev
mkdir /dev/pts /dev/shm