Skip to content

Commit

Permalink
init.rc: restart ueventd and cleanup
Browse files Browse the repository at this point in the history
Conflicts:

	bootmenu/script/2nd-init.sh
  • Loading branch information
tpruvot authored and Quarx2k committed Apr 2, 2012
1 parent d2c82d3 commit 283c783
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion bootmenu/script/2nd-boot.sh
Expand Up @@ -11,9 +11,10 @@ source /system/bootmenu/script/_config.sh

mount -o remount,rw /
rm -f /*.rc
rm -rf /osh
rm -f /osh
rm -rf /preinstall
cp -r -f /system/bootmenu/2nd-boot/* /
killall ueventd

ADBD_RUNNING=`ps | grep adbd | grep -v grep`
if [ -z "$ADB_RUNNING" ]; then
Expand Down
5 changes: 2 additions & 3 deletions bootmenu/script/2nd-init.sh
Expand Up @@ -9,12 +9,11 @@ source /system/bootmenu/script/_config.sh
mount -o remount,rw /
rm -f /*.rc
rm -f /*.sh
rm -rf /osh
rm -f /osh
rm -rf /preinstall
cp -f /system/bootmenu/2nd-init/* /
ln -s /init /sbin/ueventd
cp -f /system/bin/adbd /sbin/adbd
rm -rf /tmp
killall ueventd

ADBD_RUNNING=`ps | grep adbd | grep -v grep`
if [ -z "$ADB_RUNNING" ]; then
Expand Down

0 comments on commit 283c783

Please sign in to comment.