Hi list,
How do I make busybox shell to search for builtin
commands after some point in my PATH by specifying
%builtin? I am using BB-1.2.1 and "ash" shell.
As an example, i have tried the builtin "kill" command
to override normal "kill" command and didnt succeed. I
have attached the log.
Thanks in advance for your pointers.
Regards
Kalyan
Forgot the famous last words? Access your message archive online at
http://in.messenger.yahoo.com/webmessengerpromo.php# help
Built-in commands:
-------------------
. : [ [[ alias bg break cd chdir continue echo eval exec exit
export false fg hash help jobs kill let local pwd read readonly
return set shift source test times trap true type ulimit umask
unalias unset wait
# echo $PATH
/usr/sbin:/bin:/usr/bin:/sbin
# export PATH=/usr/sbin:/bin:%builtin/usr/bin:/sbin
# echo $PATH
/usr/sbin:/bin:%builtin/usr/bin:/sbin
# hash
# kill
-sh: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
# /bin/kill
BusyBox v1.2.1 (2008.01.31-08:47+0000) multi-call binary
Usage: kill [-signal] process-id [process-id ...]
Send a signal (default is SIGTERM) to the specified process(es).
Options:
-l List all signal names and numbers
Even after i specified %builtin in PATH after "/bin" entry, still the shell
executed builtin kill command._______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox