Browse Source

avoid warning, when already mounted by kernel

Waldemar Brodkorb 13 years ago
parent
commit
2aa24b0a05
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package/base-files/Makefile
  2. 1 1
      package/base-files/src/init

+ 1 - 1
package/base-files/Makefile

@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
 
 PKG_NAME:=		base-files
 PKG_VERSION:=		1.0
-PKG_RELEASE:=		29
+PKG_RELEASE:=		30
 PKG_SECTION:=		base
 PKG_DESCR:=		basic files and scripts
 

+ 1 - 1
package/base-files/src/init

@@ -1,7 +1,7 @@
 #!/bin/sh
 echo "System initialization ..."
 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
-mount -t devtmpfs devtmpfs /dev
+mount -t devtmpfs devtmpfs /dev > /dev/null 2>&1
 mount -nt proc proc /proc
 mount -o nosuid,nodev,noexec -t sysfs sysfs /sys
 [ ! -f /etc/notmpfs ] && {