From 3b1bdb22713582aa731d83e44066eee14e30a1db Mon Sep 17 00:00:00 2001 From: Yossi Date: Sun, 7 May 2017 17:24:16 +0300 Subject: [PATCH] Fix resize issue --- stage2/01-sys-tweaks/01-run.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 01340ad..971cc35 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -188,6 +188,7 @@ sudo update-rc.d isc-dhcp-server enable sudo wget https://dride.io/code/startup/dride-ws sudo wget https://dride.io/code/startup/dride-core +sudo wget https://dride.io/code/startup/drideOS-resize #startup script's @@ -195,8 +196,6 @@ sudo wget https://dride.io/code/startup/dride-core sudo cp dride-ws /etc/init.d/dride-ws sudo chmod +x /etc/init.d/dride-ws sudo update-rc.d dride-ws defaults - - sudo rm dride-ws # dride-core on startup @@ -205,6 +204,12 @@ sudo chmod +x /etc/init.d/dride-core sudo update-rc.d dride-core defaults sudo rm dride-core +# drideOS-resize on startup +sudo cp dride-core /etc/init.d/drideOS-resize +sudo chmod +x /etc/init.d/drideOS-resize +sudo update-rc.d drideOS-resize defaults +sudo rm drideOS-resize + @@ -220,7 +225,8 @@ echo "" >> /boot/config.txt echo "core_freq=250" >> /boot/config.txt echo "enable_uart=1" >> /boot/config.txt -echo "dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait" > /boot/cmdline.txt +# this will be done after initial boot +# echo "dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait" > /boot/cmdline.txt