network: don't use "ifup -m"
[dracut.git] / modules.d / 98dracut-systemd / dracut-cmdline-ask.sh
blobab8933ada89cc84dfa18670f192b12e2f0c5a99a
1 #!/bin/bash
3 sleep 0.5
4 echo
5 sleep 0.5
6 echo
7 sleep 0.5
8 echo
9 echo
10 echo
11 echo
12 echo "Enter additional kernel command line parameter (end with ctrl-d or .)"
13 while read -e -p "> " line || [ -n "$line" ]; do
14 [[ "$line" == "." ]] && break
15 [[ "$line" ]] && printf -- "%s\n" "$line" >> /etc/cmdline.d/99-cmdline-ask.conf
16 done
18 exit 0