diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-26 13:39:44 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-26 13:39:44 +0100 |
commit | 226d4ec4a7bc14fc599795844c0ecac2faa8d194 (patch) | |
tree | 617371f8fa3dd4fe64fbdb15eb0eecb8d1917b4b /package/base-files/src/etc/init.d/boot | |
parent | c5cbce58aafc30b7269c978c462e1daed89b57e0 (diff) | |
parent | 3f794fad83e51a090191803aa54f4a7fe0d5a2ef (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/src/etc/init.d/boot')
-rw-r--r-- | package/base-files/src/etc/init.d/boot | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/package/base-files/src/etc/init.d/boot b/package/base-files/src/etc/init.d/boot index 2e7215fb8..291bf6ab4 100644 --- a/package/base-files/src/etc/init.d/boot +++ b/package/base-files/src/etc/init.d/boot @@ -4,10 +4,6 @@ . /etc/functions.sh -if [ -f /proc/sys/kernel/printk ];then - echo 0 > /proc/sys/kernel/printk -fi - # remount /dev with smaller size mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev @@ -31,9 +27,9 @@ cat /etc/.rnd >/dev/urandom 2>&1 # create some useful directories in tmpfs mkdir -p /var/log mkdir -p /var/run +mkdir -p /var/tmp touch /var/log/lastlog touch /var/log/wtmp -ln -s /tmp /var/tmp HOSTNAME= [[ -s /etc/hostname ]] && HOSTNAME=$(cat /etc/hostname) |