Changeset 5098
- Timestamp:
- 01/08/08 20:02:40 (5 years ago)
- Location:
- lm-sensors/branches/lm-sensors-3.0.0
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/pwm/pwmconfig (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/CHANGES
r5097 r5098 11 11 Deal gracefully with read-only pwm_enable files 12 12 Warn about outputs found in automatic mode 13 Repeat available configuration options before prompt (#2289) 13 14 sensord: Fix rrd support (#2276) 14 15 Use the same colors for daily and weekly charts -
lm-sensors/branches/lm-sensors-3.0.0/prog/pwm/pwmconfig
r5063 r5098 623 623 DEFMINSTOP=100 624 624 625 #the section below has a high potential for usability improvements 625 # "select" won't reapeat the list of options, so we enclose it in a 626 # never-ending loop so that it starts over again with each iteration. 627 # I admit it's not exactly nice, but I do not have a better idea to 628 # keep usability at an acceptable level. 629 while [ 1 ] ; do 626 630 echo 627 631 echo 'Select fan output to configure, or other action:' … … 631 635 echo 632 636 echo "Current interval is $INTERVAL seconds." 633 echo -n "Enter the interval at which fancontrol should update PWM values (in s):" 634 read INTERVAL ;; #check user input here 637 echo -n "Enter the interval at which fancontrol should update PWM values (in s): " 638 read INTERVAL #check user input here 639 break ;; 635 640 "Just quit") 636 641 exit ;; … … 655 660 echo " MAXPWM=`echo $MAXPWM |sed -e \"s/ /\n/g\" |egrep \"${pwmo}\" |sed -e \"s/.*=//g\"`" 656 661 done 657 echo ;; 662 echo 663 break ;; 658 664 659 665 "`echo ${pwmactive} |sed -e 's/ /\n/g' | egrep \"${pwms}\"`" ) … … 788 794 echo 789 795 break; 790 done ;; 796 done 797 break ;; 791 798 792 799 *) 793 grep $pwm 794 795 echo "No such option. Enter a number." ;; 800 echo "No such option. Enter a number." 801 break ;; 796 802 esac 797 803 done 804 done
