diff options
author | Mike Westerhof <mwester@dls.net> | 2006-02-25 22:22:59 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-02-25 22:22:59 +0000 |
commit | 8d8d6e981a766df07d8c33fbcaa94987a9e9e505 (patch) | |
tree | 9e91877a979aa0662b0001cbc888b6e0e8bb86a3 /packages/nslu2-binary-only | |
parent | d4085142f8f2d0a016b5a4a0308b21e4de25d5a8 (diff) |
unslung-rootfs: fix missing wtmp and utmp
Diffstat (limited to 'packages/nslu2-binary-only')
-rwxr-xr-x | packages/nslu2-binary-only/unslung-rootfs-2.3r63/unsling | 6 |
1 files changed, 6 insertions, 0 deletions
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 |