aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-26 14:11:33 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-26 14:11:33 +0000
commit8f10d19d6a9ff193c18167b7b3019437a2334fde (patch)
treebd1ee024e81262ec2485c4d5f391ef910d85bd38 /init
parentc09c0ceca18b494288b9c1d81e24affd7a332415 (diff)
downloadbusybox-w32-8f10d19d6a9ff193c18167b7b3019437a2334fde.tar.gz
busybox-w32-8f10d19d6a9ff193c18167b7b3019437a2334fde.tar.bz2
busybox-w32-8f10d19d6a9ff193c18167b7b3019437a2334fde.zip
Upgrade mdev to allow commands to be run on create/delete.
Both Jason Schoon and Giuseppe Ciotta deserve credit for this, I used elements of both.  It's been upgraded so that you can specify that a given command should run at create, at delete, or at both using different special characters (@, $, and * respectively).  It uses the system() method of running command lines which means you can use environment variables on the command line (it sets $MDEV to the name of the current device being created/deleted, which is useful if you matched it via regex), and the documentation warns that you need a /bin/sh to make that work, so you probably want to pick a default shell. git-svn-id: svn://busybox.net/trunk/busybox@15515 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions