[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH 0/2] Optional extras
From:       Ron Yorston <rmy () pobox ! com>
Date:       2018-11-18 15:01:29
Message-ID: 5bf17ec9.JOUILzHTvBxAw1Qk%rmy () pobox ! com
[Download RAW message or body]

Here are another two patches for embedded script support.  They
assume that 'ash: allow a profile script to be embedded in the binary'
has been applied.

The first makes 'busybox --help' list custom scripts separately from
applets:

   Currently defined functions:
	   [, [[, acpid, add-shell, addgroup, adduser, adjtimex, arch, arp,
	   arping, ash, awk, base64, basename, beep, blkdiscard, blkid, blockdev,
       ...
       who, whoami, whois, xargs, xxd, xz, xzcat, yes, zcat, zcip

   Custom scripts:
	   .profile, hello

I think that's quite useful and it doesn't change the size of the binary
if no custom scripts are included.

The second allows any embedded script to be listed:

   $ busybox --show nologin
   cat /etc/nologin.txt 2>/dev/null || echo This account is not available
   sleep 5
   exit 1

That's possibly less useful and it's certainly more bloaty.

Ron
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic