Mot-clé - do

Fil des billets

mardi 20 avril 2010

Un ashram de geek

Si, le grand Çà te cause :

#
# Begin real processing
#
# Do we have any kernel boot arguments?
found=''
for opt in $(cat /proc/cmdline); do
case $opt in
cryptdebug*)
debug=1
;;
cryptopts=*)
found=yes
fetch_key "${opt#cryptopts=}"
;;
esac
done

if [ -n "$found" ]; then
if [ -p /dev/.initramfs/usplash_outfifo ] && [ -x /sbin/usplash_write ]; then
/sbin/usplash_write "TIMEOUT 60" || true
fi
exit 0
fi

# Do we have any settings from the /conf/conf.d/cryptroot file?
if [ -r /conf/conf.d/cryptroot ]; then
while read mapping; do
fetch_key "$mapping"
done < /conf/conf.d/cryptroot
fi

if [ -p /dev/.initramfs/usplash_outfifo ] && [ -x /sbin/usplash_write ]; then
/sbin/usplash_write "TIMEOUT 60" || true
fi

exit 0

Va méditer chez Swâmi !