mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
add script for firstboot
updated yunohost-firstboot and installer
This commit is contained in:
parent
5580fd4133
commit
9f04bd1db8
2 changed files with 11 additions and 2 deletions
|
@ -21,7 +21,7 @@ find /var/log -type f -exec echo > {} \;
|
|||
echo "Purging apt ..."
|
||||
apt-get --purge clean
|
||||
echo "Removing myself ..."
|
||||
echo > /etc/udev/rules.d/70-persistent-net.rules
|
||||
update-rc.d -f yunohost-firstboot remove >/dev/null 2>&1
|
||||
insserv -r /etc/init.d/yunohost-firstboot
|
||||
rm -f /etc/init.d/yunohost-firstboot
|
||||
echo "Rebooting ..."
|
||||
reboot
|
||||
|
|
9
build_arm_image/intsall_arm.sh
Executable file
9
build_arm_image/intsall_arm.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
# complete install with some specific ARM (raspberry) scripts.
|
||||
#
|
||||
# to be run for building an SD card image.
|
||||
#
|
||||
|
||||
cp etc/init.d/yunohost-firstboot /etc/init.d/
|
||||
chmod a+x /etc/init.d/yunohost-firstboot
|
||||
insserv /etc/init.d/yunohost-firstboot
|
Loading…
Add table
Reference in a new issue