]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut.sh: call bash with --norc
authorHarald Hoyer <harald@redhat.com>
Thu, 19 Feb 2015 08:55:12 +0000 (09:55 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 19 Feb 2015 08:55:12 +0000 (09:55 +0100)
We don't want any user aliases or functions to be defined in dracut.

dracut.sh

index 5e2feba97843fd549043f8f5ef6e8d412025ad0b..17bf8f2ebaadb6d1c2bc7f0cf52e71defc447511 100755 (executable)
--- 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