mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-22 11:46:03 +00:00
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:
1 parent
163871a6b2
commit
861bbbdeb0
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user