diff options
Diffstat (limited to 'stretch-arm64-lxqt/customization/hooks/02-add_linaro_to_groups.chroot')
-rwxr-xr-x | stretch-arm64-lxqt/customization/hooks/02-add_linaro_to_groups.chroot | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/stretch-arm64-lxqt/customization/hooks/02-add_linaro_to_groups.chroot b/stretch-arm64-lxqt/customization/hooks/02-add_linaro_to_groups.chroot deleted file mode 100755 index ad43cb7..0000000 --- a/stretch-arm64-lxqt/customization/hooks/02-add_linaro_to_groups.chroot +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -x - -DEFGROUPS="adm,dialout,cdrom,audio,dip,video,plugdev,bluetooth,pulse-access,sudo,systemd-journal,netdev,staff" - -IFS=',' -for group in $DEFGROUPS; do - /bin/egrep -i "^$group" /etc/group - if [ $? -eq 0 ]; then - echo "Group '$group' exists in /etc/group" - else - echo "Group '$group' does not exists in /etc/group, creating" - groupadd $group - fi -done -unset IFS - -echo "I: add linaro to ($DEFGROUPS) groups" -usermod -a -G ${DEFGROUPS} linaro |