mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 17:31:38 +00:00
do not forcefully use the admin group on touch images. this group was dropped in favour of the sudo group several releases ago
This commit is contained in:
parent
014067af6e
commit
39986bad6c
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (2.177) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* do not forcefully use the admin group on touch images. this group was
|
||||||
|
dropped in favour of the sudo group several releases ago
|
||||||
|
|
||||||
|
-- Oliver Grawert <ogra@ubuntu.com> Mon, 26 Aug 2013 16:51:13 +0200
|
||||||
|
|
||||||
livecd-rootfs (2.176) saucy; urgency=low
|
livecd-rootfs (2.176) saucy; urgency=low
|
||||||
|
|
||||||
* preserve a symlink of media-info for backwards compatibility
|
* preserve a symlink of media-info for backwards compatibility
|
||||||
|
@ -2,15 +2,8 @@
|
|||||||
|
|
||||||
USER=phablet
|
USER=phablet
|
||||||
|
|
||||||
DEFGROUPS="tty,admin,adm,dialout,cdrom,plugdev,audio,dip,video,gps,radio,bluetooth,android_net,android_net2,android_net3,android_graphics,android_input,sdcard_rw"
|
DEFGROUPS="tty,sudo,adm,dialout,cdrom,plugdev,audio,dip,video,gps,radio,bluetooth,android_net,android_net2,android_net3,android_graphics,android_input,sdcard_rw"
|
||||||
|
|
||||||
/bin/egrep -i "^admin:" /etc/group
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
echo "User admin exists in /etc/group"
|
|
||||||
else
|
|
||||||
echo "User admin does not exists in /etc/group must create"
|
|
||||||
groupadd admin
|
|
||||||
fi
|
|
||||||
/bin/egrep -i "^audio:" /etc/group
|
/bin/egrep -i "^audio:" /etc/group
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
# Needed to change group id as audio is already created by ubuntu
|
# Needed to change group id as audio is already created by ubuntu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user