ips${s}$(echo -n $(ips 2>/dev/null))
public_ip${s}$( (http_get http://nicolas.boisselier.free.fr/myip/) 2>/dev/null)
model${s}$([ -r /proc/device-tree/model ] && printf '%s\t%s\n' model "$(cat /proc/device-tree/model)")
-debian version${s}$([ -r /etc/debian_version ] && cat /etc/debian_version)
+os${s}$(sys_os)
EOF
}
+sys_os() {
+ [ -r /etc/debian_version ] && echo Debian $(cat /etc/debian_version) && return
+}
+
sys_date_install() {
(date -r $(ls -1drt /lost+found /etc/ssh/ssh_host_dsa_key.pub /etc/ssh_host_dsa_key.pub|head -1) +'%F %T') 2>/dev/null
}