root/wifi-ltsp/trunk/debian/postinst @ 416
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
if ! grep configura_hostapd.py /etc/sudoers > /dev/null ; then
|
|
echo "%teachers ALL = NOPASSWD: /usr/bin/configura_hostapd.py" >> /etc/sudoers
|
|
chmod 0440 /etc/sudoers
|
|
fi
|
|
|