mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-18 04:17:21 +02:00
Compare commits
6 Commits
e265916ba1
...
1b113e0c3e
Author | SHA1 | Date | |
---|---|---|---|
1b113e0c3e | |||
514ed85374 | |||
d51d8e810a | |||
a8d2057cbb | |||
45b7b14b48 | |||
a80342b82b |
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule "etc/chrony/sources.d/jauderho-nts-servers"]
|
[submodule "etc/chrony/sources.d/jauderho-nts-servers"]
|
||||||
path = etc/chrony/sources.d/jauderho-nts-servers
|
path = etc/chrony/sources.d/jauderho-nts-servers
|
||||||
url = https://gist.github.com/2ad0d441760fc5ed69d8d4e2d6b35f8d.git
|
url = https://github.com/jauderho/nts-servers.git
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
# Remember to run `pre-commit install` at least once!
|
|
||||||
# Manual test run: `pre-commit run --all-files`
|
|
||||||
# Update? `pre-commit autoupdate`
|
|
||||||
#
|
|
||||||
# See https://pre-commit.com for more information
|
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.4.0
|
rev: v4.4.0
|
||||||
@ -17,7 +11,7 @@ repos:
|
|||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: fix-byte-order-marker
|
- id: fix-byte-order-marker
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: "v3.0.0-alpha.4"
|
rev: "v3.0.0-alpha.6"
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||||
|
1
etc/chrony/sources.d/.gitignore
vendored
Normal file
1
etc/chrony/sources.d/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
jauderho-nts.sources
|
@ -1 +1 @@
|
|||||||
Subproject commit fdd2fb32525a96c9ec30bc935c2524343c4fbd9a
|
Subproject commit c298236dc672ba38e4ad2c0387c831c5b13275e6
|
1
etc/chrony/sources.d/jauderho-nts.sources
Symbolic link
1
etc/chrony/sources.d/jauderho-nts.sources
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
jauderho-nts-servers/chrony.conf
|
@ -13,10 +13,12 @@ usershare allow guests = yes
|
|||||||
map to guest = bad user
|
map to guest = bad user
|
||||||
allow insecure wide links = yes
|
allow insecure wide links = yes
|
||||||
|
|
||||||
# This seems to control the share name
|
# All guides seem to use the name PS2SMB, and it may require manual typing
|
||||||
[PlayStation2]
|
# on the console
|
||||||
|
[PS2SMB]
|
||||||
Comment = PlayStation2 images
|
Comment = PlayStation2 images
|
||||||
# sudo chcon -t samba_share_t /sambashare/
|
# sudo chcon -t samba_share_t /shome/jaettu/PS2
|
||||||
|
# jaettu = shared in Finnish
|
||||||
Path = /home/jaettu/PS2
|
Path = /home/jaettu/PS2
|
||||||
Browseable = yes
|
Browseable = yes
|
||||||
Writeable = Yes
|
Writeable = Yes
|
||||||
|
@ -2,13 +2,17 @@
|
|||||||
Name=eth0
|
Name=eth0
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
Address=172.16.1.2/16
|
#DHCP=yes
|
||||||
Gateway=172.16.0.1
|
# /24, /16, /8 are the the class C, B, A networks
|
||||||
# DNS has no effect unless systemd-resolved is used
|
Address=192.168.0.2/24
|
||||||
|
Gateway=192.168.0.1
|
||||||
|
# DNS has no effect unless systemd-resolved is used. Why would it be used?
|
||||||
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
||||||
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
||||||
DNS=127.0.0.1
|
#DNS=127.0.0.1
|
||||||
DNS=::1
|
#DNS=::1
|
||||||
DNS=8.8.4.4
|
#DNS=8.8.4.4
|
||||||
# Enable systemd-timesyncd with `timedatectl set-ntp true`
|
# Enable systemd-timesyncd with `timedatectl set-ntp true`, may be specified
|
||||||
NTP=fi.pool.ntp.org
|
# multiple times, but you are using Chrony instead, right?
|
||||||
|
#NTP=fi.pool.ntp.org
|
||||||
|
#NTP=time.cloudflare.com
|
||||||
|
Loading…
x
Reference in New Issue
Block a user