--- /dev/null
+DESCRIPTION = "Custom sudoers files for the OpenPandora."
+LICENSE = "GPLV2"
+
+COMPATIBLE_MACHINE = "omap3-pandora"
+
+RDEPENDS = "sudo"
+
+PR = "r0"
+
+SRC_URI = " \
+ file://50_openpandora \
+"
+
+do_install() {
+ install -d ${D}${sysconfdir}/sudoers.d/
+ install -m 440 ${WORKDIR}/50_openpandora ${D}${sysconfdir}/sudoers.d/50_openpandora
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+FILES_${PN} += "${prefix} ${datadir}"
--- /dev/null
+%wheel ALL=(ALL) NOPASSWD: /sbin/halt
+%wheel ALL=(ALL) NOPASSWD: /sbin/ifconfig
+%wheel ALL=(ALL) NOPASSWD: /sbin/iwconfig
+%wheel ALL=(ALL) NOPASSWD: /sbin/iwlist
+%wheel ALL=(ALL) NOPASSWD: /sbin/lsusb
+%wheel ALL=(ALL) NOPASSWD: /sbin/poweroff
+%wheel ALL=(ALL) NOPASSWD: /sbin/reboot
+%wheel ALL=(ALL) NOPASSWD: /sbin/shutdown
+%wheel ALL=(ALL) NOPASSWD: /usr/bin/chvt
+%wheel ALL=(ALL) NOPASSWD: /usr/bin/gnome-cups-manager
+%wheel ALL=(ALL) NOPASSWD: /usr/bin/showkey
+%wheel ALL=(ALL) NOPASSWD: /usr/bin/traceroute
+%wheel ALL=(ALL) NOPASSWD: /usr/bin/uniqueid.sh
+%wheel ALL=(ALL) NOPASSWD: /usr/sbin/bluetoothd
+%wheel ALL=(ALL) NOPASSWD: /usr/sbin/hciconfig
+