Skip to content

Commit

Permalink
Upstart was removed from FAI before
Browse files Browse the repository at this point in the history
  • Loading branch information
Juri Grabowski committed May 26, 2023
1 parent 3c27712 commit d19becf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bin/fai-make-nfsroot
Original file line number Diff line number Diff line change
Expand Up @@ -472,12 +472,6 @@ EOF
ln -s /usr/sbin/fai etc/init.d/rcS
fi


# Start FAI using Upstart
if [ -d etc/init ]; then # if upstart is available
find etc/init ! -type d | egrep -v "fai|udev|hostname|mountall|mounted" | xargs -r rm
fi

#Start FAI using Systemd
readlink $NFSROOT/sbin/init | grep -q systemd
if [ $? -eq 0 ]; then
Expand Down

0 comments on commit d19becf

Please sign in to comment.