#!/bin/sh cat /dev/null > /tmp/SeTnewtag dialog --title "Select pkgs from network(Network related pkgs)" --checklist "Select packages to install from network series. Use cursor up/down to select the package, mark(*) by space key. Push Enter to start install." 24 72 15 "curl" "curl" "on" \ "ethtool" "ethernet configuration tool" "on" \ "gnutls" "secure communication library" "on" \ "hostapd" "IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" "on" \ "inetutils" "GNU inetutils" "on" \ "iptables" "iptables" "on" \ "iw" "tool for configuring Linux wireless devices" "on" \ "libidn" "International Domain Name library" "on" \ "libidn2" "International Domain Name library" "on" \ "libmnl" "Minimum Netlink library" "on" \ "libnftnl" "nf_tables library" "on" \ "libnl" "Convenience library for netlink sockets" "on" \ "libpcap" "library for packet capturing" "on" \ "libpsl" "Library for public suffix list" "on" \ "libssh2" "SSH2 library" "on" \ "mew" "Mew (Messaging in the Emacs World)" "on" \ "ntp" "ntp" "on" \ "openbsd_inetd" "inetd from OpenBSD" "on" \ "stunnel" "SSL encrypton wrapper" "on" \ "tcpwrappers" "TCP wrapper tools" "on" \ "traceroute" "traceroute command" "on" \ "w3m" "W3M(Web wo Miru)" "on" \ "wget" "wget" "on" \ "wireless_tools" "wireless_tools" "on" \ "wpa_supplicant" "e_title" "on" \ 2> /tmp/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f /tmp/SeTpkgs > /tmp/SeTnewtag for pkg in curl ethtool gnutls hostapd inetutils iptables iw libidn libidn2 libmnl libnftnl libnl libpcap libpsl libssh2 mew ntp openbsd_inetd stunnel tcpwrappers traceroute w3m wget wireless_tools wpa_supplicant ; do echo "$pkg: SKP" >> /tmp/SeTnewtag done exit fi cat /dev/null > /tmp/SeTnewtag for PACKAGE in curl ethtool gnutls hostapd inetutils iptables iw libidn libidn2 libmnl libnftnl libnl libpcap libpsl libssh2 mew ntp openbsd_inetd stunnel tcpwrappers traceroute w3m wget wireless_tools wpa_supplicant ; do if grep "$PACKAGE" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then echo "$PACKAGE: ADD" >> /tmp/SeTnewtag else echo "$PACKAGE: SKP" >> /tmp/SeTnewtag fi done rm -f /tmp/SeTpkgs