dracut/modules.d/99base
dyoung@redhat.com a08ea34aba add function getargnum
For cmdline argument with numeric value, add a new function getargnum
It will get proper value with default value as $1, min value as $2,
max value as $3, and param name as $4. valid result will be echo to stdout.
for nul or value not valid it will just echo the default value.
Note: The values should be >=0

[v1->v2]: add arg <minval>
[v2->v3]: do not use bash string match =~

Signed-off-by: Dave Young <dyoung@redhat.com>
2013-01-23 15:24:27 +01:00
..
dracut-lib.sh add function getargnum 2013-01-23 15:24:27 +01:00
init.sh Fallback to external blkid and path_id in udev rules for <udev-176. 2012-12-14 09:04:56 +01:00
initqueue.sh add initqueue --env and "online" hook 2012-03-08 11:05:29 +01:00
loginit.sh base/loginit.sh: revert "quiet" patch 2012-06-04 03:09:09 -04:00
module-setup.sh Add sosreport script and generate /run/initramfs/sosreport.txt 2012-11-21 14:17:43 +01:00
parse-root-opts.sh parse-root-opts: first check for ro, later for rw 2012-07-26 17:35:59 +02:00
sosreport.sh Add sosreport script and generate /run/initramfs/sosreport.txt 2012-11-21 14:17:43 +01:00
wait-host-devs.sh wait host devs in base module 2012-08-23 10:15:09 +02:00