diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ae93c1d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/.addon
+
diff --git a/addon.tar b/addon.tar
new file mode 100644
index 0000000..d311352
Binary files /dev/null and b/addon.tar differ
diff --git a/addon/etc/init.d/K02singlecore b/addon/etc/init.d/K02singlecore
deleted file mode 100755
index 499f1b8..0000000
--- a/addon/etc/init.d/K02singlecore
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-SYSLOGD_ARGS=-n
-KLOGD_ARGS=-n
-[ -r /etc/default/logging ] && . /etc/default/logging
-
-start() {
- printf "Disable CPU1"
- echo 0 > /sys/devices/system/cpu/cpu1/online
-}
-
-stop() {
- printf "Enable CPU1"
- echo 1 > /sys/devices/system/cpu/cpu1/online
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart|reload)
- stop
- start
- ;;
- *)
- echo "Usage: $0 {start|stop|restart}"
- exit 1
-esac
-
-exit $?
diff --git a/addon/etc/proftpd.conf b/addon/etc/proftpd.conf
deleted file mode 100644
index ac58645..0000000
--- a/addon/etc/proftpd.conf
+++ /dev/null
@@ -1,86 +0,0 @@
-# This is a basic ProFTPD configuration file (rename it to
-# 'proftpd.conf' for actual use. It establishes a single server
-# and a single anonymous login. It assumes that you have a user/group
-# "nobody" and "ftp" for normal operation and anon.
-
-ServerName "ProFTPD Default Installation"
-ServerType standalone
-DefaultServer on
-
-# Port 21 is the standard FTP port.
-Port 21
-
-# Don't use IPv6 support by default.
-UseIPv6 off
-
-# Umask 022 is a good standard umask to prevent new dirs and files
-# from being group and world writable.
-Umask 000
-
-# To prevent DoS attacks, set the maximum number of child processes
-# to 30. If you need to allow more than 30 concurrent connections
-# at once, simply increase this value. Note that this ONLY works
-# in standalone mode, in inetd mode you should use an inetd server
-# that allows you to limit maximum number of processes per service
-# (such as xinetd).
-MaxInstances 30
-
-# Set the user and group under which the server will run.
-User root
-Group root
-
-# To cause every FTP user to be "jailed" (chrooted) into their home
-# directory, uncomment this line.
-#DefaultRoot ~
-
-# Normally, we want files to be overwriteable.
-AllowOverwrite on
-
-# Bar use of SITE CHMOD by default
-#
-# DenyAll
-#
-
-
- RootLogin on
- RequireValidShell off
-
-
-
- AllowAll
-
-
-DefaultRoot /
-
-# A basic anonymous configuration, no upload directories. If you do not
-# want anonymous users, simply delete this entire section.
-
- User ftp
- Group ftp
-
- # We want clients to be able to login with "anonymous" as well as "ftp"
- UserAlias anonymous ftp
-
- # Limit the maximum number of anonymous logins
- MaxClients 10
-
- # We want 'welcome.msg' displayed at login, and '.message' displayed
- # in each newly chdired directory.
- DisplayLogin welcome.msg
- DisplayChdir .message
-
-
- AllowAll
-
-
- # Limit WRITE everywhere in the anonymous chroot
-
- AllowAll
-
-
-
- AllowAll
-
-
-
-
diff --git a/addon/etc/resync b/addon/etc/resync
deleted file mode 100755
index 082b2b5..0000000
--- a/addon/etc/resync
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-( while [ 1 ]; do sync; sleep 5; done ) &
diff --git a/addon/etc/ssh/ssh_host_dsa_key b/addon/etc/ssh/ssh_host_dsa_key
deleted file mode 100644
index c2fccc7..0000000
--- a/addon/etc/ssh/ssh_host_dsa_key
+++ /dev/null
@@ -1,12 +0,0 @@
------BEGIN DSA PRIVATE KEY-----
-MIIBugIBAAKBgQCoW9kb4nt+QTsjjJ+DA5Lxz8PQf7OEXNWUS/Fl1rDgg7LiJfqz
-VICReUJYOS2ochrz2MCraIol1JG1fDV32DO86RwV7lR0gj2qhrAuyYHEO22qutUe
-u25XaNNAdejdOtpgEXcl2REMDZvvKkiXsN9X3sD5KZKbn360MaBnckG8iwIVAP7Y
-ySymEqKJyMcIUzKqTIINSFtDAoGAQJ+ZvmRdeoBYMTIY5QKrHbcQvJguj8rTAFnq
-ATWpB33pItQO4LFuQ4Ekprnfge1eMk09Q3mL28pAFsB9C/YCZ6A7bHAmbggUGAgx
-DgN+U3C4tf46Bh9Le5niKLxNZHhEOdS7cpxMa6UwrlxGIx8sGzaE/nHKluikezaL
-yK6A1GACgYA1AZQROYdvd57QpMMp6CGhRjoCo3eNM07pikj67NLkOemS8Ems25HR
-G1cWM16TNa2apWDm4TjH6xld2ZjMpNYImQATWJ8yh6LeFBObzWwm/G7DUguhZnkw
-8hvpmHfSJvxTzv+gD/nTrnnVdmwZe6fFa7/ecbJ9anupFyMj01jVKwIUJ7z1N+sH
-8OtMD4sf6hk2MUhf4vc=
------END DSA PRIVATE KEY-----
diff --git a/addon/etc/ssh/ssh_host_dsa_key.pub b/addon/etc/ssh/ssh_host_dsa_key.pub
deleted file mode 100644
index 2f91dd6..0000000
--- a/addon/etc/ssh/ssh_host_dsa_key.pub
+++ /dev/null
@@ -1 +0,0 @@
-ssh-dss AAAAB3NzaC1kc3MAAACBAKhb2Rvie35BOyOMn4MDkvHPw9B/s4Rc1ZRL8WXWsOCDsuIl+rNUgJF5Qlg5LahyGvPYwKtoiiXUkbV8NXfYM7zpHBXuVHSCPaqGsC7JgcQ7baq61R67bldo00B16N062mARdyXZEQwNm+8qSJew31fewPkpkpuffrQxoGdyQbyLAAAAFQD+2MksphKiicjHCFMyqkyCDUhbQwAAAIBAn5m+ZF16gFgxMhjlAqsdtxC8mC6PytMAWeoBNakHfeki1A7gsW5DgSSmud+B7V4yTT1DeYvbykAWwH0L9gJnoDtscCZuCBQYCDEOA35TcLi1/joGH0t7meIovE1keEQ51LtynExrpTCuXEYjHywbNoT+ccqW6KR7NovIroDUYAAAAIA1AZQROYdvd57QpMMp6CGhRjoCo3eNM07pikj67NLkOemS8Ems25HRG1cWM16TNa2apWDm4TjH6xld2ZjMpNYImQATWJ8yh6LeFBObzWwm/G7DUguhZnkw8hvpmHfSJvxTzv+gD/nTrnnVdmwZe6fFa7/ecbJ9anupFyMj01jVKw== root@de10-nano
diff --git a/addon/etc/ssh/ssh_host_ecdsa_key b/addon/etc/ssh/ssh_host_ecdsa_key
deleted file mode 100644
index 82fb71e..0000000
--- a/addon/etc/ssh/ssh_host_ecdsa_key
+++ /dev/null
@@ -1,5 +0,0 @@
------BEGIN EC PRIVATE KEY-----
-MHcCAQEEIPuXbQucxsR1/KKptBorXab/4XzY+wEBAlve1/WNAebZoAoGCCqGSM49
-AwEHoUQDQgAECPCo2OtClRIlL1H0LfGJmf/iYeDTtZAcftSfYXtH6UJChcFShES6
-rleKmNnbq6FU8psdV14R9JFaax0qoRBLVA==
------END EC PRIVATE KEY-----
diff --git a/addon/etc/ssh/ssh_host_ecdsa_key.pub b/addon/etc/ssh/ssh_host_ecdsa_key.pub
deleted file mode 100644
index 57f670c..0000000
--- a/addon/etc/ssh/ssh_host_ecdsa_key.pub
+++ /dev/null
@@ -1 +0,0 @@
-ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAjwqNjrQpUSJS9R9C3xiZn/4mHg07WQHH7Un2F7R+lCQoXBUoREuq5XipjZ26uhVPKbHVdeEfSRWmsdKqEQS1Q= root@de10-nano
diff --git a/addon/etc/ssh/ssh_host_ed25519_key b/addon/etc/ssh/ssh_host_ed25519_key
deleted file mode 100644
index 5a4ef2b..0000000
--- a/addon/etc/ssh/ssh_host_ed25519_key
+++ /dev/null
@@ -1,7 +0,0 @@
------BEGIN OPENSSH PRIVATE KEY-----
-b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
-QyNTUxOQAAACDIVx8DrEaA4dfp5a7uG+tr/2wQ4Q+hYzV6hPgd6PUbWwAAAJhXIS6KVyEu
-igAAAAtzc2gtZWQyNTUxOQAAACDIVx8DrEaA4dfp5a7uG+tr/2wQ4Q+hYzV6hPgd6PUbWw
-AAAEDRLKp1otUvzyZB8Pwe7PFug6UEN6+9agUwu7FVqSAIQshXHwOsRoDh1+nlru4b62v/
-bBDhD6FjNXqE+B3o9RtbAAAADnJvb3RAZGUxMC1uYW5vAQIDBAUGBw==
------END OPENSSH PRIVATE KEY-----
diff --git a/addon/etc/ssh/ssh_host_ed25519_key.pub b/addon/etc/ssh/ssh_host_ed25519_key.pub
deleted file mode 100644
index 0a93649..0000000
--- a/addon/etc/ssh/ssh_host_ed25519_key.pub
+++ /dev/null
@@ -1 +0,0 @@
-ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMhXHwOsRoDh1+nlru4b62v/bBDhD6FjNXqE+B3o9Rtb root@de10-nano
diff --git a/addon/etc/ssh/ssh_host_rsa_key b/addon/etc/ssh/ssh_host_rsa_key
deleted file mode 100644
index fde4d24..0000000
--- a/addon/etc/ssh/ssh_host_rsa_key
+++ /dev/null
@@ -1,27 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIIEowIBAAKCAQEAypkEF/iLwQUHftpakiG3G9qyFlNSSHsE2AVwT6S6qi2h5kNa
-GhgMbGQV8nhxdN2Qmji5X0rQCJWT8apuhXuzkixTlSzrwK9ORPG/PYjIPhK7NMyz
-DtNwmW10GSf2OMfGH10m3XfAUqcAlscwLn7gpkOYd5ZQ9TvstWLzIMppgXP4RFfs
-IX4UdyC9oVM07PvIO5NWSXsU6OydChHjSMr2PfpCBv0so/RUEuEK4RDLNfxiOjnK
-DhTs8Kx3yXJFHUIrWZnhWUGZayxpyxxdvqvFnXb1WoAeRErlvMNcjrfGvQD9GS/r
-Q39mb/DiCa4YN6+bxkzXc7htsTDXm/iOE6wR+wIDAQABAoIBAQDA9XoLpqLcxQB9
-llRbCBeRRPsG/nbJJ7nWUV/FyzwqJ2oimJVxcuQqPC0XEhXlW72E1W/gza1T77rH
-mi7HnajLGMLGutETZSRjz+f4IJWvYUHCKRCFl2aQCspfx0rgi40shBknKA4Z6otK
-EA7YyekHEixeAeG7oEZz//lWitJwAqVhmM485mw56/ELpH9EYDa6n9moLgWCGGnj
-hT/kVv2jxb4K93M0D6eiMlPBVGrMg+ijb1DyMzT5V5ocKEdchlDQTGyVId0L9S0j
-U+yxPxjYOQz5BzTbXr+VeCuKhtoHssUm9piOltvJO1aaW6FRx9I7baxdG411k0VU
-puKd+hqZAoGBAObF71+cM48YxwdjGGeaUtmER2aj338JVYF4jzZL9g+g67FpK3u/
-+R8Ql5CyMI5qFFR5MLCWMO4GQHCdsctPOeeR0HGGUqiuaCk0sWBeDP8Y53zZY1Et
-tSEyIROeX702QfjRdXPFdhzs01nK3p1rods3WLWr1cyx78oFNCrdoCctAoGBAOC+
-mwMdkfpIiOwZYqaaVzi3eYZysw79JhVt0wf29YO7VMvtQnKfTipmQbnadCi6oxPB
-yDxRtflkoXAFowF2/tjFPjnyYWMIlz+IDguwuEK6m6WPonBYz4KmHzgZnzzkoEcp
-U4ziT8264WQllh/FU7VQ0KPYwigNiTdTARs95tbHAoGAAkyklvJKfTmE+ijdnGKo
-QqyTvY0SdASWyoR2ANd+6ybyUkE3ArOl+s5ChFmSLEkYTMMsXgYRFL4RNE4N8HWo
-oQsN5aOt/SpHtWll/wzQ2lXYMKFF4RAwhtUmCTkBwTPiMmV74xxrkdw2OuXPlAf3
-g+SoSJ8esTxwpDWrEGZG6z0CgYBEgbVssLHTshKSrXZFxJw7vKm9ku8D7aSTOaPv
-NJdILW0+sDbmC6te/0afqXhpBeM53YL06A9pUwRmykES7Dvoxc8fCMQo1PCNvCJT
-6+1u4cUaJXtldZzjfVHc3uqMPECjEHTYaA/dbU7RISfuzU6j4VuH5kXgwaeHBrU6
-oZbg9wKBgFZ5fa72YM17V0wFF/SSH2bMaHArzrPHm4taT/pbpBA3DkOBDue30X5F
-txWj8528zeZWtWlkxAdQT1tVxOwhdQNiOiv6J+3VCrbIfbl/vzGW42VP6+JgX/6y
-mZR8/87Wuok8Fb1hHSNKwdXY6LVUDwjTvDa04RQ54KRVOZeYLgX1
------END RSA PRIVATE KEY-----
diff --git a/addon/etc/ssh/ssh_host_rsa_key.pub b/addon/etc/ssh/ssh_host_rsa_key.pub
deleted file mode 100644
index f78baa5..0000000
--- a/addon/etc/ssh/ssh_host_rsa_key.pub
+++ /dev/null
@@ -1 +0,0 @@
-ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKmQQX+IvBBQd+2lqSIbcb2rIWU1JIewTYBXBPpLqqLaHmQ1oaGAxsZBXyeHF03ZCaOLlfStAIlZPxqm6Fe7OSLFOVLOvAr05E8b89iMg+Ers0zLMO03CZbXQZJ/Y4x8YfXSbdd8BSpwCWxzAufuCmQ5h3llD1O+y1YvMgymmBc/hEV+whfhR3IL2hUzTs+8g7k1ZJexTo7J0KEeNIyvY9+kIG/Syj9FQS4QrhEMs1/GI6OcoOFOzwrHfJckUdQitZmeFZQZlrLGnLHF2+q8WddvVagB5ESuW8w1yOt8a9AP0ZL+tDf2Zv8OIJrhg3r5vGTNdzuG2xMNeb+I4TrBH7 root@de10-nano
diff --git a/addon/etc/ssh/sshd_config b/addon/etc/ssh/sshd_config
deleted file mode 100644
index 3057c0d..0000000
--- a/addon/etc/ssh/sshd_config
+++ /dev/null
@@ -1,119 +0,0 @@
-# $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $
-
-# This is the sshd server system-wide configuration file. See
-# sshd_config(5) for more information.
-
-# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
-
-# The strategy used for options in the default sshd_config shipped with
-# OpenSSH is to specify options with their default value where
-# possible, but leave them commented. Uncommented options override the
-# default value.
-
-#Port 22
-#AddressFamily any
-#ListenAddress 0.0.0.0
-#ListenAddress ::
-
-#HostKey /etc/ssh/ssh_host_rsa_key
-#HostKey /etc/ssh/ssh_host_dsa_key
-#HostKey /etc/ssh/ssh_host_ecdsa_key
-#HostKey /etc/ssh/ssh_host_ed25519_key
-
-# Ciphers and keying
-#RekeyLimit default none
-
-# Logging
-#SyslogFacility AUTH
-#LogLevel INFO
-
-# Authentication:
-
-#LoginGraceTime 2m
-PermitRootLogin yes
-#StrictModes yes
-#MaxAuthTries 6
-#MaxSessions 10
-
-#PubkeyAuthentication yes
-
-# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
-# but this is overridden so installations will only check .ssh/authorized_keys
-AuthorizedKeysFile .ssh/authorized_keys
-
-#AuthorizedPrincipalsFile none
-
-#AuthorizedKeysCommand none
-#AuthorizedKeysCommandUser nobody
-
-# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
-#HostbasedAuthentication no
-# Change to yes if you don't trust ~/.ssh/known_hosts for
-# HostbasedAuthentication
-#IgnoreUserKnownHosts no
-# Don't read the user's ~/.rhosts and ~/.shosts files
-#IgnoreRhosts yes
-
-# To disable tunneled clear text passwords, change to no here!
-#PasswordAuthentication yes
-#PermitEmptyPasswords no
-
-# Change to no to disable s/key passwords
-#ChallengeResponseAuthentication yes
-
-# Kerberos options
-#KerberosAuthentication no
-#KerberosOrLocalPasswd yes
-#KerberosTicketCleanup yes
-#KerberosGetAFSToken no
-
-# GSSAPI options
-#GSSAPIAuthentication no
-#GSSAPICleanupCredentials yes
-
-# Set this to 'yes' to enable PAM authentication, account processing,
-# and session processing. If this is enabled, PAM authentication will
-# be allowed through the ChallengeResponseAuthentication and
-# PasswordAuthentication. Depending on your PAM configuration,
-# PAM authentication via ChallengeResponseAuthentication may bypass
-# the setting of "PermitRootLogin without-password".
-# If you just want the PAM account and session checks to run without
-# PAM authentication, then enable this but set PasswordAuthentication
-# and ChallengeResponseAuthentication to 'no'.
-UsePAM yes
-
-#AllowAgentForwarding yes
-#AllowTcpForwarding yes
-#GatewayPorts no
-#X11Forwarding no
-#X11DisplayOffset 10
-#X11UseLocalhost yes
-#PermitTTY yes
-#PrintMotd yes
-#PrintLastLog yes
-#TCPKeepAlive yes
-#UseLogin no
-#UsePrivilegeSeparation sandbox
-#PermitUserEnvironment no
-#Compression delayed
-#ClientAliveInterval 0
-#ClientAliveCountMax 3
-#UseDNS no
-#PidFile /var/run/sshd.pid
-#MaxStartups 10:30:100
-#PermitTunnel no
-#ChrootDirectory none
-#VersionAddendum none
-
-# no default banner path
-#Banner none
-
-# override default of no subsystems
-Subsystem sftp /usr/libexec/sftp-server
-
-# Example of overriding settings on a per-user basis
-#Match User anoncvs
-# X11Forwarding no
-# AllowTcpForwarding no
-# PermitTTY no
-# ForceCommand cvs server
diff --git a/addon/etc/usbmount/usbmount.conf b/addon/etc/usbmount/usbmount.conf
deleted file mode 100644
index 1836f5f..0000000
--- a/addon/etc/usbmount/usbmount.conf
+++ /dev/null
@@ -1,53 +0,0 @@
-# Configuration file for the usbmount package, which mounts removable
-# storage devices when they are plugged in and unmounts them when they
-# are removed.
-
-# Change to zero to disable usbmount
-ENABLED=1
-
-# Mountpoints: These directories are eligible as mointpoints for
-# removable storage devices. A newly plugged in device is mounted on
-# the first directory in this list that exists and on which nothing is
-# mounted yet.
-MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3
- /media/usb4 /media/usb5 /media/usb6 /media/usb7"
-
-# Filesystem types: removable storage devices are only mounted if they
-# contain a filesystem type which is in this list.
-FILESYSTEMS="vfat exfat ext4 ntfs fuseblk"
-
-#############################################################################
-# WARNING! #
-# #
-# The "sync" option may not be a good choice to use with flash drives, as #
-# it forces a greater amount of writing operating on the drive. This makes #
-# the writing speed considerably lower and also leads to a faster wear out #
-# of the disk. #
-# #
-# If you omit it, don't forget to use the command "sync" to synchronize the #
-# data on your disk before removing the drive or you may experience data #
-# loss. #
-# #
-# It is highly recommended that you use the pumount command (as a regular #
-# user) before unplugging the device. It makes calling the "sync" command #
-# and mounting with the sync option unnecessary---this is similar to other #
-# operating system's "safely disconnect the device" option. #
-#############################################################################
-# Mount options: Options passed to the mount command with the -o flag.
-# See the warning above regarding removing "sync" from the options.
-MOUNTOPTIONS="sync,noexec,nodev,noatime,nodiratime"
-
-# Filesystem type specific mount options: This variable contains a space
-# separated list of strings, each which the form "-fstype=TYPE,OPTIONS".
-#
-# If a filesystem with a type listed here is mounted, the corresponding
-# options are appended to those specificed in the MOUNTOPTIONS variable.
-#
-# For example, "-fstype=vfat,gid=floppy,dmask=0007,fmask=0117" would add
-# the options "gid=floppy,dmask=0007,fmask=0117" when a vfat filesystem
-# is mounted.
-FS_MOUNTOPTIONS="-fstype=ntfs,nls=utf8,umask=111,gid=46 -fstype=fuseblk,nls=utf8,umask=111,gid=46"
-
-# If set to "yes", more information will be logged via the syslog
-# facility.
-VERBOSE=no
diff --git a/addon/root/.config/mc/ini b/addon/root/.config/mc/ini
deleted file mode 100644
index f3e7261..0000000
--- a/addon/root/.config/mc/ini
+++ /dev/null
@@ -1,141 +0,0 @@
-[Midnight-Commander]
-verbose=1
-pause_after_run=1
-shell_patterns=1
-auto_save_setup=1
-preallocate_space=0
-auto_menu=0
-use_internal_view=1
-use_internal_edit=1
-clear_before_exec=1
-confirm_delete=1
-confirm_overwrite=1
-confirm_execute=0
-confirm_history_cleanup=1
-confirm_exit=0
-confirm_directory_hotlist_delete=1
-safe_delete=0
-mouse_repeat_rate=100
-double_click_speed=250
-use_8th_bit_as_meta=0
-confirm_view_dir=0
-mouse_move_pages_viewer=1
-mouse_close_dialog=0
-fast_refresh=0
-drop_menus=0
-wrap_mode=1
-old_esc_mode=1
-old_esc_mode_timeout=100000
-cd_symlinks=1
-show_all_if_ambiguous=0
-max_dirt_limit=10
-use_file_to_guess_type=1
-alternate_plus_minus=0
-only_leading_plus_minus=1
-show_output_starts_shell=0
-xtree_mode=0
-num_history_items_recorded=60
-file_op_compute_totals=1
-classic_progressbar=1
-vfs_timeout=60
-ftpfs_directory_timeout=900
-use_netrc=1
-ftpfs_retry_seconds=30
-ftpfs_always_use_proxy=0
-ftpfs_use_passive_connections=1
-ftpfs_use_passive_connections_over_proxy=0
-ftpfs_use_unix_list_options=1
-ftpfs_first_cd_then_ls=1
-fish_directory_timeout=900
-editor_tab_spacing=8
-editor_word_wrap_line_length=72
-editor_fill_tabs_with_spaces=0
-editor_return_does_auto_indent=1
-editor_backspace_through_tabs=0
-editor_fake_half_tabs=1
-editor_option_save_mode=0
-editor_option_save_position=1
-editor_option_auto_para_formatting=0
-editor_option_typewriter_wrap=0
-editor_edit_confirm_save=1
-editor_syntax_highlighting=1
-editor_persistent_selections=1
-editor_drop_selection_on_copy=1
-editor_cursor_beyond_eol=0
-editor_cursor_after_inserted_block=0
-editor_visible_tabs=1
-editor_visible_spaces=1
-editor_line_state=0
-editor_simple_statusbar=0
-editor_check_new_line=0
-editor_show_right_margin=0
-editor_group_undo=0
-editor_state_full_filename=0
-editor_ask_filename_before_edit=0
-nice_rotating_dash=1
-mcview_remember_file_position=0
-auto_fill_mkdir_name=1
-copymove_persistent_attr=1
-editor_backup_extension=~
-editor_filesize_threshold=64M
-editor_stop_format_chars=-+*\\,.;:&>
-mcview_eof=
-ignore_ftp_chattr_errors=true
-skin=default
-
-[Layout]
-message_visible=0
-keybar_visible=0
-xterm_title=1
-output_lines=0
-command_prompt=1
-menubar_visible=0
-free_space=1
-horizontal_split=0
-vertical_equal=1
-left_panel_size=60
-horizontal_equal=1
-top_panel_size=1
-
-[Misc]
-timeformat_recent=%b %e %H:%M
-timeformat_old=%b %e %Y
-ftp_proxy_host=gate
-ftpfs_password=anonymous@
-display_codepage=UTF-8
-source_codepage=Other_8_bit
-autodetect_codeset=
-clipboard_store=
-clipboard_paste=
-
-[Colors]
-base_color=
-xterm=
-color_terminals=
-
-[Panels]
-show_mini_info=true
-kilobyte_si=false
-mix_all_files=false
-show_backups=true
-show_dot_files=true
-fast_reload=false
-fast_reload_msg_shown=false
-mark_moves_down=true
-reverse_files_only=true
-auto_save_setup_panels=false
-navigate_with_arrows=false
-panel_scroll_pages=true
-panel_scroll_center=false
-mouse_move_pages=true
-filetype_mode=true
-permission_mode=false
-torben_fj_mode=false
-quick_search_mode=2
-select_flags=6
-
-[Panelize]
-Find *.orig after patching=find . -name \\*.orig -print
-Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print
-Find rejects after patching=find . -name \\*.rej -print
-Modified git files=git ls-files --modified
diff --git a/addon/root/.config/mc/panels.ini b/addon/root/.config/mc/panels.ini
deleted file mode 100644
index e14be9a..0000000
--- a/addon/root/.config/mc/panels.ini
+++ /dev/null
@@ -1,33 +0,0 @@
-[New Left Panel]
-display=listing
-reverse=0
-case_sensitive=1
-exec_first=0
-sort_order=name
-list_mode=full
-brief_cols=2
-user_format=half type name | size | perm
-user_status0=half type name | owner | perm
-user_status1=half type name | size | perm
-user_status2=half type name | size | perm
-user_status3=half type name | size | perm
-user_mini_status=1
-
-[New Right Panel]
-display=listing
-reverse=0
-case_sensitive=1
-exec_first=0
-sort_order=name
-list_mode=full
-brief_cols=2
-user_format=half type name | size | perm
-user_status0=half type name | owner | perm
-user_status1=half type name | size | perm
-user_status2=half type name | size | perm
-user_status3=half type name | size | perm
-user_mini_status=1
-
-[Dirs]
-current_is_left=true
-other_dir=/media/fat
diff --git a/addon/usr/bin/archivemount b/addon/usr/bin/archivemount
deleted file mode 100755
index 57e3a36..0000000
Binary files a/addon/usr/bin/archivemount and /dev/null differ
diff --git a/addon/usr/bin/fpga b/addon/usr/bin/fpga
deleted file mode 100755
index bc8f9d1..0000000
Binary files a/addon/usr/bin/fpga and /dev/null differ
diff --git a/addon/usr/bin/makesd b/addon/usr/bin/makesd
deleted file mode 100755
index 48c7efd..0000000
--- a/addon/usr/bin/makesd
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-umount /dev/sda
-umount /dev/sda1
-umount /dev/sda2
-umount /dev/sda3
-
-cd /make_sd
-./create_sd.sh /dev/sda
-
diff --git a/addon/usr/bin/md b/addon/usr/bin/md
deleted file mode 120000
index d9d20c9..0000000
--- a/addon/usr/bin/md
+++ /dev/null
@@ -1 +0,0 @@
-memtool
\ No newline at end of file
diff --git a/addon/usr/bin/memtool b/addon/usr/bin/memtool
deleted file mode 100755
index 28970c4..0000000
Binary files a/addon/usr/bin/memtool and /dev/null differ
diff --git a/addon/usr/bin/mw b/addon/usr/bin/mw
deleted file mode 120000
index d9d20c9..0000000
--- a/addon/usr/bin/mw
+++ /dev/null
@@ -1 +0,0 @@
-memtool
\ No newline at end of file
diff --git a/addon/usr/sbin/mount.ntfs b/addon/usr/sbin/mount.ntfs
deleted file mode 120000
index 0e266cf..0000000
--- a/addon/usr/sbin/mount.ntfs
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/ntfs-3g
\ No newline at end of file
diff --git a/create_sd.sh b/create_sd.sh
index de82c44..4464d03 100755
--- a/create_sd.sh
+++ b/create_sd.sh
@@ -88,7 +88,11 @@ __END__
tar xfp ${SRCDIR}/firmware.tar.gz --warning=no-timestamp -C ${DSTDIR}/lib/firmware || exit 0
echo "Copying additional modifications..."
- cp -f -r ${SRCDIR}/addon/* ${DSTDIR} || exit 0
+ if [ -d ${SRCDIR}/.addon ]; then
+ [ -f ${SRCDIR}/addon.tar ] && rm -f ${SRCDIR}/addon.tar
+ tar cvf ${SRCDIR}/addon.tar -C ${SRCDIR}/.addon .
+ fi
+ tar xfp ${SRCDIR}/addon.tar --warning=no-timestamp -C ${DSTDIR} || exit 0
mkdir -p ${DSTDIR}/media/fat || exit 0
echo "/dev/mmcblk0p1 /media/fat auto defaults,sync,nofail 0 0" >>${DSTDIR}/etc/fstab
sed 's/getty/agetty/g' -i ${DSTDIR}/etc/inittab
@@ -113,11 +117,12 @@ __EOF__
echo "Copying this installer..."
mkdir -p ${DSTDIR}/media/rootfs || exit 0
mkdir -p ${DSTDIR}/make_sd || exit 0
- cp -f -r ${SRCDIR}/* ${DSTDIR}/make_sd || exit 0
+ cp -f ${SRCDIR}/* ${DSTDIR}/make_sd || exit 0
echo "Fixing permissions..."
chown -R root:root ${DSTDIR} || exit 0
sync
+ sleep 3
echo "Unmounting Linux partition..."
umount ${DSTDIR} || exit 0