echo "Usage: progressbar {progress}"
exit 1
fi
- echo "show $(( 65534 * $1 / 9 ))" > /proc/splash
+ if [ -e /proc/splash ]; then
+ echo "show $(( 65534 * $1 / 9 ))" > /proc/splash
+ fi
}
# Set bootsplash
progressbar 9
-echo "silent" > /proc/splash
+if [ -e /proc/splash ]; then
+ echo "silent" > /proc/splash
+fi
echo "Stopping the RED interface..."
progressbar 8