diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-11 06:21:12 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-11 06:21:12 +0200 |
commit | ceedf010c914556ebe7eb3211b7b43ccd5deb39f (patch) | |
tree | 92f0bcfabc0193abdbc3b86d7992b2bc60adfeb3 /package/base-files/src | |
parent | a373c925622077caa35eb97ab85965e52d7e832d (diff) | |
parent | a1eafbfc0077cd7074961e635ca2387ada7da440 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/src')
-rwxr-xr-x | package/base-files/src/init | 1 | ||||
-rwxr-xr-x | package/base-files/src/sbin/adkupdate | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/package/base-files/src/init b/package/base-files/src/init index a9564011d..c57149fe3 100755 --- a/package/base-files/src/init +++ b/package/base-files/src/init @@ -12,6 +12,7 @@ mount -o nosuid,nodev,noexec -t sysfs sysfs /sys mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev [ -d /dev/pts ] || mkdir /dev/pts [ -d /dev/shm ] || mkdir /dev/shm +mount -o nosuid,noexec -t tmpfs tmpfs /dev/shm mount -o nosuid,noexec -t devpts devpts /dev/pts exec 0<>/dev/console >&0 2>&0 echo >/dev/mdev.seq diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate index 619faf04f..b5477412f 100755 --- a/package/base-files/src/sbin/adkupdate +++ b/package/base-files/src/sbin/adkupdate @@ -89,6 +89,14 @@ case $1 in ;; esac +# fix permissions +if [ -f /usr/bin/sudo ];then + chmod 4755 /usr/bin/sudo +fi +if [ -f /usr/bin/Xorg ];then + chmod 4755 /usr/bin/Xorg +fi + sync if [ -x /sbin/cfgfs ];then umount /etc |