diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-22 19:27:18 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-22 19:27:18 +0100 |
commit | 3becf571f6137f47f15ac3dfcbb64c5a4f4b3852 (patch) | |
tree | 8b446cb5ed95bd078b2b7be13ae62c29e202d657 /package/base-files | |
parent | f4704ae1ec6a30b3dde6424f317e5315757a65f0 (diff) | |
parent | c7b25f4c5726394f2cc57b924bb7913a3882255e (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files')
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rw-r--r-- | package/base-files/src/etc/init.d/boot | 4 | ||||
-rwxr-xr-x | package/base-files/src/init | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 7f68bad96..f1e0d0666 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:= 62 +PKG_RELEASE:= 63 PKG_SECTION:= base PKG_DESCR:= basic files and scripts PKG_BUILDDEP:= pkgconf-host file-host diff --git a/package/base-files/src/etc/init.d/boot b/package/base-files/src/etc/init.d/boot index ed55ccc88..df2c493d7 100644 --- a/package/base-files/src/etc/init.d/boot +++ b/package/base-files/src/etc/init.d/boot @@ -10,12 +10,10 @@ touch /var/log/lastlog touch /var/log/wtmp ln -s /tmp /var/tmp -echo 0 > /proc/sys/kernel/printk - HOSTNAME= [[ -s /etc/hostname ]] && HOSTNAME=$(cat /etc/hostname) HOSTNAME=${HOSTNAME%%.*} -echo ${HOSTNAME:=linux} >/proc/sys/kernel/hostname +echo ${HOSTNAME:=openadk} >/proc/sys/kernel/hostname chown 0:0 /tmp; chmod 1777 /tmp diff --git a/package/base-files/src/init b/package/base-files/src/init index 003808452..ad519e96d 100755 --- a/package/base-files/src/init +++ b/package/base-files/src/init @@ -3,6 +3,7 @@ echo "System initialization ..." export PATH=/bin:/sbin:/usr/bin:/usr/sbin mount -t devtmpfs devtmpfs /dev >/dev/null 2>&1 mount -nt proc proc /proc +echo 0 > /proc/sys/kernel/printk mount -o nosuid,nodev,noexec -t sysfs sysfs /sys [ ! -f /etc/notmpfs ] && { size=$(cat /etc/tmpfs 2>/dev/null) |