X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=bitfolk-chroot-install;h=a28efeec9ac9bffcb1f1c89d041a5339089a4561;hp=37e77b78a365e3b1bc400cf42f29a69bfa101471;hb=802e885e3e7fa3857f8bc4f54c261d5ca76f2454;hpb=40dd151ec6ba75633c74568da59e35a45351f194 diff --git a/bitfolk-chroot-install b/bitfolk-chroot-install index 37e77b7..a28efee 100755 --- a/bitfolk-chroot-install +++ b/bitfolk-chroot-install @@ -42,8 +42,7 @@ cat >/root/.ssh/authorized_keys <<'EOF' ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDX42yru/h6r6UDRy/VwVZjcYEmNLG5/SUjv7xwu43OaW0wL+uHYg2rkfn4Ygh5o1I5pgBh2SWg8TeWuVGhgL1SCuBzzeai/+58Sny065Qak+D2WjVOuRonRelh+CBA5EpNZPuiWQkoWdf9NACTBCbS2Zu7r8OOgRqu/ruaDNePlG5+U0Wlpy3oBnpbzQiuSA3AKMW30fsCJtOBjz5qQaiPbYEKJy3AOvtbq10wliKx9TpsTzrq8dKWs7PLhZnzqVCsaq6D95IzjqXcSpx4Cga5bn+YEuAnJQ53PGA5eO+hpz6HDmawTbJlaV/Dufb9bJ/ZZy1DXzs07yWRtTEY54/X ian@iankelling.org EOF - -# todo update this and hostname depending on host +# https://tools.bitfolk.com/wiki/IPv6 cat >/etc/network/interfaces </etc/hostname </etc/timezone +if [[ -L /etc/localtime ]]; then + ln -sf /usr/share/zoneinfo/${TIMEZONE} /etc/localtime +else + cp -f /usr/share/zoneinfo/${TIMEZONE} /etc/localtime +fi + + +echo $0 SUCCESS