Skip to content

Commit

Permalink
remove deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Oct 3, 2022
1 parent 48b500b commit f2bd13a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/mkramdisk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# mkramdisk -- mount a ramdisk on top of a directory
#
# This script is part of FAI (Fully Automatic Installation)
# (c) 2003-2014 by Thomas Lange, lange@informatik.uni-koeln.de
# (c) 2003-2022 by Thomas Lange, lange@informatik.uni-koeln.de
# Universitaet zu Koeln
#
#*********************************************************************
Expand Down Expand Up @@ -81,11 +81,6 @@ while getopts ans:u opt ; do
done
shift $((OPTIND - 1))

if [ -n "$FAI_NORAMDISK" ]; then
echo "The use of \$FAI_NORAMDISK is now deprecated. Please use \$FAI_RAMDISKS instead." >&2
exit 99
fi

# set default dirs if FAI_RAMDISKS not already set
: ${FAI_RAMDISKS:="$target/var/lib/dpkg"}

Expand Down

0 comments on commit f2bd13a

Please sign in to comment.