mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +00:00
Base: Rename /users to /home.
I didn't like seeing /users next to /usr. /home looks nicer.
This commit is contained in:
parent
2def3d8d3f
commit
5e8d6b1bf4
Notes:
sideshowbarker
2024-07-19 15:48:21 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5e8d6b1bf40
3 changed files with 6 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
|||
root:x:0:0:root:/:/bin/sh
|
||||
anon:x:100:100:Anonymous,,,:/users/anon:/bin/sh
|
||||
anon:x:100:100:Anonymous,,,:/home/anon:/bin/sh
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
if [ $(id -u) != 0 ]; then
|
||||
echo "This needs to be run as root"
|
||||
exit
|
||||
fi
|
||||
rm -vf _fs_contents.lock
|
||||
rm -vf _fs_contents
|
||||
dd if=/dev/zero of=_fs_contents bs=1M count=12
|
||||
|
@ -24,7 +28,7 @@ ln -s /proc/self/fd/0 mnt/dev/stdin
|
|||
ln -s /proc/self/fd/1 mnt/dev/stdout
|
||||
ln -s /proc/self/fd/2 mnt/dev/stderr
|
||||
cp -vR ../Base/* mnt/
|
||||
chown -vR 100:100 mnt/users/anon
|
||||
chown -vR 100:100 mnt/home/anon
|
||||
cp -v ../Userland/sh mnt/bin/sh
|
||||
cp -v ../Userland/id mnt/bin/id
|
||||
cp -v ../Userland/ps mnt/bin/ps
|
||||
|
|
Loading…
Add table
Reference in a new issue