aboutsummaryrefslogtreecommitdiff
path: root/rc.boot
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-16 12:55:12 +0300
committerCem Keylan <cem@ckyln.com>2020-05-16 12:55:12 +0300
commitc140ff0ad691a34ecf9b46ea471ba6a6fc4dfd32 (patch)
treed183fd2112bc989e26b9d4c36e0a789c60dc975a /rc.boot
parent8c876541ee2e9f1240edf9c9a150f7c19dc9cf61 (diff)
downloadinit-c140ff0ad691a34ecf9b46ea471ba6a6fc4dfd32.tar.gz
init: multiple changes
- added a random function for random seed - if svctl exists, kill sysmgr services
Diffstat (limited to 'rc.boot')
-rwxr-xr-xrc.boot12
1 files changed, 2 insertions, 10 deletions
diff --git a/rc.boot b/rc.boot
index 26edfbe..8c9838d 100755
--- a/rc.boot
+++ b/rc.boot
@@ -78,16 +78,8 @@ out "Enabling swap..."; {
swapon -a || shell
}
-out "Seeding random..."; {
- if [ -f /var/random.seed ]; then
- cat /var/random.seed > /dev/urandom
- else
- out "This may hang."
- out "Mash the keyboard to generate entropy..."
-
- dd count=1 bs=512 if=/dev/random of=/var/random.seed
- fi
-}
+# Load random seed
+random load
out "Setting up loopback..."; {
ip link set up dev lo