summaryrefslogtreecommitdiff
path: root/etc/systemd/system
AgeCommit message (Collapse)Author
2023-05-29paccache.service systemd drop-in file, also remove all uninstalled packages ↵Xiao Pan
cache
2023-04-15new systemd monerod@.service template unit, enabled monerod@xyz.service, ↵Xiao Pan
remove `BindsTo=mullvad-daemon.service`
id='n29' href='#n29'>29
#!/bin/sh
# DATE From To

while getopts cfF:t:T: opt; do
	case $opt in
		c) tz_from="Asia/Shanghai";;
		f) tz_from="$(tzselect)";;
		F) tz_from="$OPTARG";;
		# one extra ',' at the end will not let `for tz in ...` loop one extra time?
		t)	for i in $(seq "$OPTARG"); do
				tz_to="$(tzselect),$tz_to"
			done;;
		T) tz_to="$OPTARG,$tz_to";;
		\?) exit 1;;
	esac
done
shift $((OPTIND-1))