aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.boot8
-rw-r--r--rc.lib5
2 files changed, 4 insertions, 9 deletions
diff --git a/rc.boot b/rc.boot
index 56b0460..cf0f855 100755
--- a/rc.boot
+++ b/rc.boot
@@ -26,10 +26,10 @@ out "Mounting pseudo filesystems..."; {
mnt mode=1777,nosuid,nodev tmpfs shm /dev/shm
{
- link /proc/self/fs /dev/fd
- link fd/0 /dev/stdin
- link fd/1 /dev/stdout
- link fd/2 /dev/stderr
+ ln -sf /proc/self/fs /dev/fd
+ ln -sf fd/0 /dev/stdin
+ ln -sf fd/1 /dev/stdout
+ ln -sf fd/2 /dev/stderr
} 2>/dev/null
}
diff --git a/rc.lib b/rc.lib
index bff6f1f..81eed0f 100644
--- a/rc.lib
+++ b/rc.lib
@@ -77,11 +77,6 @@ device_helper() {
esac
}
-link() {
- ln -sf "$1" "$2"
- printf '%s ==> %s\n' "$2" "$1"
-}
-
mounted() {
[ -e "$1" ] &&
[ -f /proc/mounts ] &&