diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-10 13:55:37 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-11 11:59:23 +0200 |
commit | 98746846c0f069bd840293e46bd272f98ee06ca8 (patch) | |
tree | 39ecc732681ae936a0b52918179cc1b6c90c54b4 /main/busybox-initscripts/busybox-initscripts.post-install | |
parent | 0fcda9d6311e4ba19796360edb452a9df9b6af9d (diff) | |
download | aports-98746846c0f069bd840293e46bd272f98ee06ca8.tar.bz2 aports-98746846c0f069bd840293e46bd272f98ee06ca8.tar.xz |
main/busybox-initscripts: move input devices to new input group
Since this group is used by udev by default for input devices we should
also use it in mdev.
Diffstat (limited to 'main/busybox-initscripts/busybox-initscripts.post-install')
-rw-r--r-- | main/busybox-initscripts/busybox-initscripts.post-install | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/busybox-initscripts/busybox-initscripts.post-install b/main/busybox-initscripts/busybox-initscripts.post-install index 46bdf84caa..fab24cac62 100644 --- a/main/busybox-initscripts/busybox-initscripts.post-install +++ b/main/busybox-initscripts/busybox-initscripts.post-install @@ -1,6 +1,9 @@ #!/bin/sh # this is for upgraders +addgroup -S -g 23 input 2>/dev/null + +# this is for upgraders if [ -L /etc/runlevels/boot/mdev ] && ! [ -L /etc/runlevels/sysinit/mdev ]; then mkdir -p /etc/runlevels/sysinit mv /etc/runlevels/boot/mdev /etc/runlevels/sysinit/ 2>/dev/null |