diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-28 18:21:42 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-28 18:22:55 +0900 |
| commit | 71fcc972bad6abcd6282f7a80ef5935cdfcf172d (patch) | |
| tree | c83b1cd35a6244d333ff8c35ae4799864d8059b7 /cmd/hsu/conf.go | |
| parent | 62002efd08158512f6015d47461d264a14961553 (diff) | |
cmd/hsu: alternative hsurc path for Rosa OS
Rosa OS does not have /etc.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hsu/conf.go')
| -rw-r--r-- | cmd/hsu/conf.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/hsu/conf.go b/cmd/hsu/conf.go new file mode 100644 index 00000000..683bdc8a --- /dev/null +++ b/cmd/hsu/conf.go @@ -0,0 +1,7 @@ +//go:build !rosa + +package main + +// hsuConfPath is an absolute pathname to the hsu configuration file. Its +// contents are interpreted by parseConfig. +const hsuConfPath = "/etc/hsurc" |
