diff options
author | Roy Marples <roy@marples.name> | 2007-12-14 20:09:53 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-12-14 20:09:53 +0000 |
commit | afdcf1fa158e9833c163068f77e88d21ba0e3225 (patch) | |
tree | c170f21fb6be2dc278e2554c4ae7595f1738d1a4 /init.d.Linux/consolefont | |
parent | 584cea1f8e0d2aa21f75c273159608d9ee35cda5 (diff) |
udev requires try function and the modules-update program should take care of any 2.4 vs 2.6 kernel issues. Also add vim instructions to a few files.
Diffstat (limited to 'init.d.Linux/consolefont')
-rwxr-xr-x | init.d.Linux/consolefont | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d.Linux/consolefont b/init.d.Linux/consolefont index c1a4755a..824a848e 100755 --- a/init.d.Linux/consolefont +++ b/init.d.Linux/consolefont @@ -56,7 +56,7 @@ start() { return 0 fi - local x= param= sf_param= retval=1 ttydev= + local x= param= sf_param= retval=0 ttydev= # Get additional parameters if [ -n "${consoletranslation}" ]; then @@ -74,7 +74,7 @@ start() { x=1 while [ ${x} -le ${ttyn} ]; do - setfont ${consolefont} ${param}-C ${ttydev}${x} >/dev/null + setfont ${consolefont} ${param} -C ${ttydev}${x} >/dev/null retval=$((${retval} + $?)) x=$((${x} + 1)) done |