trevise sysconf - libdevuansdk - common library for devuan's simple distro kits
 (HTM) git clone https://git.parazyd.org/libdevuansdk
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 92f3e3bbbe17b4eb6124ae156ebc28b7f7a88e14
 (DIR) parent 623d05beffe9f7d20598bb99eee0708cdee62853
 (HTM) Author: parazyd <parazyd@dyne.org>
       Date:   Fri, 27 Oct 2017 20:07:36 +0200
       
       revise sysconf
       
       Diffstat:
         M zlibs/sysconf                       |      20 +++-----------------
       
       1 file changed, 3 insertions(+), 17 deletions(-)
       ---
 (DIR) diff --git a/zlibs/sysconf b/zlibs/sysconf
       t@@ -33,13 +33,8 @@ conf_print_fstab() {
        
                cat <<EOF
        #<file system>  <mount point>  <type>  <options>            <dump> <pass>
       -proc            /proc          proc    nodev,noexec,nosuid    0      0
       -
        # rootfs
        /dev/sda2       /              ext4    errors=remount-ro      0      1
       -
       -# boot
       -/dev/sda1       /boot          ext2    defaults               0      0
        EOF
        }
        
       t@@ -58,7 +53,7 @@ conf_print_hosts() {
        
                cat <<EOF
        127.0.0.1        ${os}                localhost
       -::1              localhost            ip6-localhost ip6-loopback
       +::1              ip6-localhost ip6-loopback
        fe00::0          ip6-localnet
        fe00::0          ip6-mcastprefix
        fe02::1          ip6-allnodes
       t@@ -93,11 +88,11 @@ iface eth0 inet dhcp
        #        netmask 255.255.255.0
        
        # allow-hotplug wlan0
       -# iface wlan0 inet manual
       +# iface wlan0 inet dhcp
        #        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
        
        # allow-hotplug wlan1
       -# iface wlan1 inet manual
       +# iface wlan1 inet dhcp
        #        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
        EOF
        }
       t@@ -138,12 +133,3 @@ deb ${mirror} ${release}-security ${section}
        #deb-src ${mirror} ${release}-backports ${section}
        EOF
        }
       -
       -conf_print_locales() {
       -        fn conf_print_locales
       -
       -        cat <<EOF
       -export LANG=C
       -export LC_ALL=C
       -EOF
       -}