#!/bin/sh pkill nickel eink_enable_autoupdate rm -rf /debian/tmp/* /debian/tmp/.* 2>/dev/null mount -t proc proc /debian/proc mount -o bind /dev /debian/dev mount -o bind /dev/pts /debian/dev/pts mount -t sysfs sysfs /debian/sys mount -o bind,user,rw,exec,umask=000 /mnt/onboard /debian/mnt/onboard mount -o bind / /debian/host cp -L /etc/wpa_supplicant/wpa_supplicant.conf /debian/etc/wpa_supplicant/wpa_supplicant.conf cp -L /etc/resolv.conf /debian/etc/resolv.conf cp /etc/hosts /debian/etc/hosts grep -v debian /proc/mounts > /debian/etc/mtab chroot /debian sudo -u marek -H /bin/bash --login
#!/bin/sh pkill nickel eink_enable_autoupdate rm -rf /debian/tmp/* /debian/tmp/.* 2>/dev/null mount -t proc proc /debian/proc mount -o bind /dev /debian/dev mount -o bind /dev/pts /debian/dev/pts mount -t sysfs sysfs /debian/sys mount -o bind,user,rw,exec,umask=000 /mnt/onboard /debian/mnt/onboard mount -o bind / /debian/host cp -L /etc/wpa_supplicant/wpa_supplicant.conf /debian/etc/wpa_supplicant/wpa_supplicant.conf cp -L /etc/resolv.conf /debian/etc/resolv.conf cp /etc/hosts /debian/etc/hosts grep -v debian /proc/mounts > /debian/etc/mtab chroot /debian sudo -u marek -H /bin/bash --login -c "startx"
#!/bin/sh PLATFORM=ntx508 ( if [ ! -e /etc/wpa_supplicant/wpa_supplicant.conf ]; then cp /etc/wpa_supplicant/wpa_supplicant.conf.template /etc/wpa_supplicant/wpa_supplicant.conf fi ) & export INTERFACE=eth0 export WIFI_MODULE=dhd export QWS_MOUSE_PROTO="tslib_nocal:/dev/input/event1" export QWS_KEYBOARD=imx508kbd:/dev/input/event0 export QWS_DISPLAY=Transformed:imx508:Rot90 export NICKEL_HOME=/mnt/onboard/.kobo export LD_LIBRARY_PATH=/usr/local/Kobo export WIFI_MODULE_PATH=/drivers/$PLATFORM/wifi/$WIFI_MODULE.ko export LANG=en_US.UTF-8 export UBOOT_MMC=/etc/u-boot/$PLATFORM/u-boot.mmc export UBOOT_RECOVERY=/etc/u-boot/$PLATFORM/u-boot.recovery /usr/local/Kobo/nickel -qws &
时间: 2024-10-14 05:25:57