not a hashtable
This commit is contained in:
parent
2b32655365
commit
63eda033cc
4
rc.in
4
rc.in
|
@ -28,7 +28,7 @@ rc.tmpfiles() {
|
||||||
|
|
||||||
rc.mount() {
|
rc.mount() {
|
||||||
for fs in "${cfg_mounts[@]}"; do
|
for fs in "${cfg_mounts[@]}"; do
|
||||||
echo "$fs" | while IFS=':' read device fs_type mountpoint mount_options
|
echo "$fs" | while IFS=':' read device fs_type mountpoint mount_options; do
|
||||||
|
|
||||||
[[ "$mount_options" ]] || { mount_options='defaults'; }
|
[[ "$mount_options" ]] || { mount_options='defaults'; }
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ rc.mount() {
|
||||||
mount "$device" -n -t "$fs_type" -o "$mount_options" "$mountpoint"
|
mount "$device" -n -t "$fs_type" -o "$mount_options" "$mountpoint"
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
rc.parse_cmdline() {
|
rc.parse_cmdline() {
|
||||||
|
@ -160,7 +161,6 @@ rc.timezone() {
|
||||||
}
|
}
|
||||||
|
|
||||||
rc.main() {
|
rc.main() {
|
||||||
declare -A cfg_mounts
|
|
||||||
source "@ETC@/rc.conf"
|
source "@ETC@/rc.conf"
|
||||||
|
|
||||||
# Default XDG_RUNTIME_DIR for all non-system users
|
# Default XDG_RUNTIME_DIR for all non-system users
|
||||||
|
|
Loading…
Reference in New Issue
Block a user