Skip to content

Commit

Permalink
scripts: assume utmp,wtmp are on tmpfs /run
Browse files Browse the repository at this point in the history
  • Loading branch information
zeha committed Nov 26, 2024
1 parent 1a40680 commit b373401
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,6 @@ zero ${target}/var/account/pacct \
${target}/var/log \
${target}/var/mail/grml

# on /run we don't have to create it
if [ -d ${target}/var/run ] ; then
echo "Recreate empty utmp and wtmp"
:>${target}/var/run/utmp
:>${target}/var/run/wtmp
fi

if ! [ -x $target/usr/sbin/update-ca-certificates ] ; then
echo "Warning: update-ca-certificates not installed"
else
Expand Down

0 comments on commit b373401

Please sign in to comment.