Skip to content

Commit 6a8daba

Browse files
author
system64fumo
committed
Fix init system
This should make things bootable now i suppose
1 parent e4711d4 commit 6a8daba

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

distribution/files/chroot-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ cd /opt/setup/packages/sysvinit
103103
(echo y;echo y;echo y;echo y;echo y) | makepkg -si" &> /dev/null
104104
mv /opt/setup/init /etc/rc.d/init
105105
mv /opt/setup/packages/busybox /usr/bin/busybox
106+
chmod +x /etc/rc.d/init
106107

107108
# Setup auto login for setup
108109
sed -i "s/root/setup/g" /etc/inittab

distribution/files/init

100644100755
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@ cd /etc/rc.d/
1010
#
1111

1212
./service start pseudofs
13-
mastersplash /etc/rc.d/splash/static.ppm 500 30 8 100 100 100 &
13+
mastersplash /etc/rc.d/splash/static.ppm 500 30 6 100 100 100 &
1414
sleep 0.1
1515
./service start misc
1616
./service start login
1717
(./service start modules ; pkill -10 mastersplash) &
1818
(./service start mounts ; pkill -10 mastersplash) &
1919
(./service start udev ; pkill -10 mastersplash) &
20-
(./service start net-setup ; pkill -10 mastersplash) &
21-
(NetworkManager ; pkill -10 mastersplash) &
22-
./service start time &
23-
./service start zram ; pkill -10 mastersplash) &
20+
(./service start net-setup &
21+
(NetworkManager &
22+
./service start time &
23+
./service start zram &
2424
./service start sshd ; pkill -10 mastersplash) &
2525
./service start binfmt ; pkill -10 mastersplash) &
26+
(sleep 3 ; pkill -10 mastersplash) &

0 commit comments

Comments
 (0)