aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/busybox-initscripts.post-install
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-10 13:55:37 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-11 11:59:23 +0200
commit98746846c0f069bd840293e46bd272f98ee06ca8 (patch)
tree39ecc732681ae936a0b52918179cc1b6c90c54b4 /main/busybox-initscripts/busybox-initscripts.post-install
parent0fcda9d6311e4ba19796360edb452a9df9b6af9d (diff)
downloadaports-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-install3
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