Read the number of device files to create on the command line

if provided.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2921 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2005-03-06 13:41:18 +00:00
1 parent 163871a6b2
commit 861bbbdeb0
1 file changed
+2 -1
+2 -1
View File
@@ -3,7 +3,8 @@
# Here you can set several defaults.
# The number of devices to create (max: 256)
NUMBER=32
# If not provided on the command line, default to 32
NUMBER=${1:-32}
# The owner and group of the devices
OUSER=root