automatically disable faiserver nfs in some scripts
[automated-distro-installer] / fai / config / hooks / partition.DEFAULT
index 9914a458c952d514e9c7778d2719b65131607740..2db69b348b33f8f8e2c99c66112056f443f54b89 100755 (executable)
@@ -65,21 +65,18 @@ add-part() { # add partition suffix to $dev
     echo $ret
 }
 
-# Functions here are commented because they are unused, but left
-# intentionally because they follow the pattern and could be useful in
-# the future.
-#bootdev() { add-part $@ $bootn; }
+bootdev() { add-part $@ $bootn; }
 rootdev() { add-part $@ $rootn; }
 swapdev() { add-part $@ $swapn; }
 grub_extdev() { add-part $@ $grub_extn; }
-#bios_grubdev() { add-part $@ $bios_grubn; }
+bios_grubdev() { add-part $@ $bios_grubn; }
 
 crypt-dev() { echo /dev/mapper/crypt_dev_${1##*/}; }
 crypt-name() { echo crypt_dev_${1##*/}; }
 root-cryptdev() { crypt-dev $(rootdev $@); }
-#swap-cryptdev() { crypt-dev $(swapdev $@); }
-#root-cryptname() { crypt-name $(rootdev $@); }
-#swap-cryptname() { crypt-name $(swapdev $@); }
+swap-cryptdev() { crypt-dev $(swapdev $@); }
+root-cryptname() { crypt-name $(rootdev $@); }
+swap-cryptname() { crypt-name $(swapdev $@); }
 
 
 ##### end function defs