From 8d8d6e981a766df07d8c33fbcaa94987a9e9e505 Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Sat, 25 Feb 2006 22:22:59 +0000 Subject: unslung-rootfs: fix missing wtmp and utmp --- packages/nslu2-binary-only/unslung-rootfs-2.3r63/unsling | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages') diff --git a/packages/nslu2-binary-only/unslung-rootfs-2.3r63/unsling b/packages/nslu2-binary-only/unslung-rootfs-2.3r63/unsling index 3c25316751..bda65a01ce 100755 --- a/packages/nslu2-binary-only/unslung-rootfs-2.3r63/unsling +++ b/packages/nslu2-binary-only/unslung-rootfs-2.3r63/unsling @@ -179,6 +179,12 @@ cp $targ/home/httpd/html/home.htm $targ/home/httpd/html/home.htm_bak sed "$sedcommand" $targ/home/httpd/html/home.htm_bak > $targ/home/httpd/html/home.htm chmod 644 $targ/home/httpd/html/home.htm +# Create a few empty files that are expected to be present +touch $targ/var/log/wtmp +chmod 644 $targ/var/log/wtmp +touch $targ/var/run/utmp +chmod 644 $targ/var/run/utmp + # Create the boot flag file. rm -f /.sd??root $targ/.sd??root -- cgit v1.2.3