summaryrefslogtreecommitdiffstats
path: root/hooks/consolefont
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-04-09 03:03:27 +0200
committerDave Reisner <dreisner@archlinux.org>2012-04-09 03:03:27 +0200
commite44bc987c14a904b371718f9c1562135fc02c966 (patch)
tree425c80df15f2e3c0ecd3398808b81a8354c9b6ab /hooks/consolefont
parent9c1fd3318a40ccb70797305fc91926f380887f99 (diff)
downloadmkinitcpio-e44bc987c14a904b371718f9c1562135fc02c966.tar.gz
mkinitcpio-e44bc987c14a904b371718f9c1562135fc02c966.tar.xz
hooks: use consistent shebang, modeline, function style
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'hooks/consolefont')
-rw-r--r--hooks/consolefont9
1 files changed, 5 insertions, 4 deletions
diff --git a/hooks/consolefont b/hooks/consolefont
index 07cbd71..118a10d 100644
--- a/hooks/consolefont
+++ b/hooks/consolefont
@@ -1,12 +1,11 @@
-# vim: set ft=sh:
+#!/usr/bin/ash
-run_hook ()
-{
+run_hook() {
if [ -e /consolefont.psfu ]; then
msg -n ":: Loading console font..."
setfont -C /dev/console /consolefont.psfu
msg "done."
- elif [ -e /consolefont.psf ]; then
+ elif [ -e /consolefont.psf ]; then
msg -n ":: Loading console font..."
setfont -C /dev/console /consolefont.psf
msg "done."
@@ -14,3 +13,5 @@ run_hook ()
msg "No consolefont found despite added hook."
fi
}
+
+# vim: set ft=sh ts=4 sw=4 et: