Skip to content

Commit

Permalink
mounts are already done by initrd
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Jul 9, 2016
1 parent c805ea6 commit 6c4cd63
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bin/fai
Expand Up @@ -100,7 +100,6 @@ fai_init() {
if [ $do_init_tasks -eq 1 ]; then
eval_cmdline
define_fai_flags
[ -d /sys/kernel ] || mount -t sysfs sysfs /sys
# we really need to start udev
if [ -x /etc/init.d/udev ]; then
if [ X$UPSTART_JOB != Xfai ]; then
Expand All @@ -117,7 +116,6 @@ fai_init() {
fi
pgrep rpc.statd > /dev/null || rpc.statd # idmapd needs this

mountpoint -q /dev/pts || mount -t devpts devpts /dev/pts
cat /proc/kmsg >/dev/tty4 &

# fix IP address lifetime
Expand Down Expand Up @@ -312,7 +310,6 @@ if [ $do_init_tasks -eq 1 ]; then
mkdir -p /var/lib/discover /var/discover /etc/sysconfig
fi

[ -f /proc/version ] || mount -n -t proc proc /proc # ubuntu initrd does not mount /proc
export start_seconds=$(cut -d . -f 1 /proc/uptime)

[ -n "$newhostname" ] && export HOSTNAME=$newhostname
Expand Down

0 comments on commit 6c4cd63

Please sign in to comment.