From: Harald Hoyer Date: Thu, 19 Feb 2015 08:55:12 +0000 (+0100) Subject: dracut.sh: call bash with --norc X-Git-Tag: 042~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ac2c8357089fdce0876dedc197b96dfa72c4a6a;p=thirdparty%2Fdracut.git dracut.sh: call bash with --norc We don't want any user aliases or functions to be defined in dracut. --- diff --git a/dracut.sh b/dracut.sh index 5e2feba97..17bf8f2eb 100755 --- a/dracut.sh +++ b/dracut.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash --norc # # Generator script for a dracut initramfs # Tries to retain some degree of compatibility with the command line