Skip to content
Browse files

Change the service list

  • Loading branch information...
1 parent 8a0a245 commit 0431711ed3eccbdd1fc3a6d11b37410b39db8a44 @Elv13 committed May 20, 2011
Showing with 22 additions and 4 deletions.
  1. 0 main.c
  2. +7 −0 scripts/post1.sh
  3. +10 −0 scripts/post2.sh
  4. +5 −4 scripts/startx.sh
View
0 main.c 100644 → 100755
File mode changed.
View
7 scripts/post1.sh
@@ -0,0 +1,7 @@
+/etc/init.d/sysfs start &
+/etc/init.d/modules start &
+/etc/init.d/procfs start &
+/etc/init.d/swap start &
+/etc/init.d/sysctl start &
+/etc/init.d/bootmisc start &
+/etc/init.d/udev start
View
10 scripts/post2.sh
@@ -0,0 +1,10 @@
+/etc/init.d/avahi-daemon start &
+/etc/init.d/avahi-dnsconfd start &
+#/etc/init.d/net.eth0 start
+/etc/init.d/dbus start &
+/etc/init.d/sshd start &
+/etc/init.d/acpid start &
+/etc/init.d/localmount start &
+/etc/init.d/urandom start &
+/etc/init.d/net.lo start &
+/etc/init.d/NetworkManager start &
View
9 scripts/startx.sh
@@ -1,5 +1,6 @@
#!/bin/dash
-EVENT=`dmesg | grep "7-2:1.0" | cut -f 10 -d/ | grep -e "[0-9]" -o`
+#EVENT=`dmesg | grep "7-2:1.0" | cut -f 10 -d/ | grep -e "[0-9]" -o`
+sleep 3
X &
PID=$!
{
@@ -11,8 +12,8 @@ while [ "`pidof X`" != "" ]; do
sleep 0.05
done
} &
-sleep 3
-sudo rc prepost
-sudo rc post &
+#sleep 3
+#sudo rc prepost
+#sudo rc post &
wait $PID

0 comments on commit 0431711

Please sign in to comment.
Something went wrong with that request. Please try again.