diff options
Diffstat (limited to 'install')
-rw-r--r-- | install/encrypt | 18 | ||||
-rw-r--r-- | install/keymap | 44 | ||||
-rw-r--r-- | install/lvm2 | 19 |
3 files changed, 0 insertions, 81 deletions
diff --git a/install/encrypt b/install/encrypt deleted file mode 100644 index e97734e..0000000 --- a/install/encrypt +++ /dev/null @@ -1,18 +0,0 @@ -# vim: set ft=sh: - -install () -{ - MODULES=" dm-crypt $(all_modules "/crypto/" | grep -v "aes.ko" ) " - BINARIES="" - add_dir "/dev/mapper" - add_file "/sbin/cryptsetup.static" "/bin/cryptsetup" - FILES="" - SCRIPT="encrypt" -} - -help () -{ -cat<<HELPEOF - This hook allows for an encrypted root device. -HELPEOF -} diff --git a/install/keymap b/install/keymap deleted file mode 100644 index 0518802..0000000 --- a/install/keymap +++ /dev/null @@ -1,44 +0,0 @@ -# vim: set ft=sh: - -install () -{ - MODULES="" - BINARIES="" - FILES="" - SCRIPT="keymap" - KEYMAP_FILE="$(mktemp /tmp/keymap.XXXXXX)" - add_file /bin/loadkeys.static /bin/loadkeys - add_file /usr/bin/dumpkeys.static /bin/dumpkeys - add_file /usr/bin/kbd_mode.static /bin/kdb_mode - add_file /usr/bin/setfont.static /bin/setfont - grep "KEYMAP=" /etc/rc.conf >> ${KEYMAP_FILE} - grep "CONSOLEFONT=" /etc/rc.conf >> ${KEYMAP_FILE} - grep "CONSOLEMAP=" /etc/rc.conf >> ${KEYMAP_FILE} - if [ "$(echo $LOCALE | /bin/grep -i utf)" != "" ]; then - echo UTF8="yes" >> ${KEYMAP_FILE} - fi - . ${KEYMAP_FILE} - add_file ${KEYMAP_FILE} /keymap - [ "$CONSOLEFONT" != "" ] && add_file /usr/share/kbd/consolefonts/$(grep "CONSOLEFONT=" /etc/rc.conf | awk -FCONSOLEFONT= '{print $2}' | sed -e "s@[\"']*@@g")* - [ "$CONSOLEMAP" != "" ] && add_file /usr/share/kbd/unimaps/$(grep "CONSOLEMAP=" /etc/rc.conf | awk -FCONSOLEMAP= '{print $2}' | sed -e "s@[\"']*@@g")* - if [ "$KEYMAP" != "" ]; then - for i in $(find /usr/share/kbd/ -name "$(grep "KEYMAP=" /etc/rc.conf |\ - awk -FKEYMAP= '{print $2}' | awk -F- '{print $1}' | sed -e "s@[\"']*@@g")*.map.gz"); do - add_file $i - done - for i in $(echo /usr/share/kbd/keymaps/include/*); do - add_file $i - done - for i in $(echo /usr/share/kbd/keymaps/*/include/*); do - add_file $i - done - fi -} - -help () -{ -cat<<HELPEOF - This hook loads the specified keymap and consolefont from rc.conf, - during early userspace. -HELPEOF -} diff --git a/install/lvm2 b/install/lvm2 deleted file mode 100644 index c6cacc3..0000000 --- a/install/lvm2 +++ /dev/null @@ -1,19 +0,0 @@ -# vim: set ft=sh: - -install () -{ - MODULES=" dm-mod " - BINARIES="" - FILES="" - SCRIPT="lvm2" - - add_dir "/dev/mapper" - add_file "/sbin/lvm.static" "/bin/lvm" -} - -help () -{ -cat<<HELPEOF - This hook loads the necessary modules for an LVM2 root device. -HELPEOF -} |