Revisión 134
Añadido por jredrejo hace alrededor de 14 años
wifi-ltsp/trunk/debian/postrm | ||
---|---|---|
#!/bin/sh -e
|
||
if grep configura_hostapd /etc/sudoers > /dev/null ; then
|
||
sed -i -r -e '/configura_hostapd/d' /etc/sudoers
|
||
chmod 0440 /etc/sudoers
|
||
fi
|
||
|
||
exit 0
|
||
|
wifi-ltsp/trunk/debian/install | ||
---|---|---|
|
||
autoriza-wifi.desktop usr/share/applications
|
wifi-ltsp/trunk/debian/changelog | ||
---|---|---|
wifi-ltsp (0.4-1) unstable; urgency=low
|
||
|
||
* Autoriza wifi para guardias
|
||
|
||
-- José L. Redrejo Rodríguez <jredrejo@debian.org> Mon, 21 Mar 2011 18:05:33 +0100
|
||
|
||
wifi-ltsp (0.3-1) unstable; urgency=low
|
||
|
||
* Contempla alguna posibilidad más
|
wifi-ltsp/trunk/debian/dirs | ||
---|---|---|
usr/bin
|
||
usr/share/applications
|
wifi-ltsp/trunk/debian/postinst | ||
---|---|---|
#! /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
|
||
|
wifi-ltsp/trunk/autoriza-wifi.desktop | ||
---|---|---|
[Desktop Entry]
|
||
Name=Autoriza WiFi Guardias
|
||
Comment=El profesor de guardia puede simular otro profesor del centro
|
||
Exec=autorizaWifiGuardias.py
|
||
Icon=network-wireless
|
||
Terminal=false
|
||
Type=Application
|
||
StartupNotify=true
|
||
Categories=GNOME;GTK;Settings;X-GNOME-NetworkSettings;
|
||
OnlyShowIn=GNOME;
|
wifi-ltsp/trunk/setup.py | ||
---|---|---|
package_dir={'parsehostapd': 'parsehostapd/'},
|
||
url = 'http://desarrollo.educarex.es/linex/projects/servidoressecundaria/repository/show/wifi-ltsp',
|
||
# Those are going to be installed on /usr/bin/
|
||
scripts=['configura_hostapd.py'],
|
||
scripts=['configura_hostapd.py','autorizaWifiGuardias.py'],
|
||
|
||
data_files=datafiles
|
||
)
|
Exportar a: Unified diff
nueva versión del paquete con applicación para autorizar guardias