diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-11-08 18:55:19 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-11-08 19:17:35 +0900 |
| commit | 8c15959571568b231afe1eb3358ca3da7c00b026 (patch) | |
| tree | b4d1b33e2fc06da00cc47beadad740b86113acca /cmd/hsu | |
| parent | 085498b62ca37414d7c97fca9063526032c1f36e (diff) | |
cmd/hsu: move Rosa OS hsurc
This file is generated by the operating system. Pointing it to /system
requires ugly tricks to bind mount over it.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hsu')
| -rw-r--r-- | cmd/hsu/conf.go | 2 | ||||
| -rw-r--r-- | cmd/hsu/conf_rosa.go | 7 | ||||
| -rw-r--r-- | cmd/hsu/config_rosa.go | 7 |
3 files changed, 8 insertions, 8 deletions
diff --git a/cmd/hsu/conf.go b/cmd/hsu/conf.go index 683bdc8a..79f5091a 100644 --- a/cmd/hsu/conf.go +++ b/cmd/hsu/conf.go @@ -2,6 +2,6 @@ package main -// hsuConfPath is an absolute pathname to the hsu configuration file. Its +// hsuConfPath is an absolute pathname of the hsu configuration file. Its // contents are interpreted by parseConfig. const hsuConfPath = "/etc/hsurc" diff --git a/cmd/hsu/conf_rosa.go b/cmd/hsu/conf_rosa.go new file mode 100644 index 00000000..4aef572d --- /dev/null +++ b/cmd/hsu/conf_rosa.go @@ -0,0 +1,7 @@ +//go:build rosa + +package main + +// hsuConfPath is the absolute pathname of the hsu configuration file, specific +// to Rosa OS. Its contents are interpreted by parseConfig. +const hsuConfPath = "/misc/hsurc" diff --git a/cmd/hsu/config_rosa.go b/cmd/hsu/config_rosa.go deleted file mode 100644 index 30303dba..00000000 --- a/cmd/hsu/config_rosa.go +++ /dev/null @@ -1,7 +0,0 @@ -//go:build rosa - -package main - -// hsuConfPath is the pathname to the hsu configuration file, specific to -// Rosa OS. Its contents are interpreted by parseConfig. -const hsuConfPath = "/system/etc/hsurc" |
