/home/$YOU/.zen/A_Station_ON
This commit is contained in:
parent
704febd7d3
commit
6499e31241
|
@ -76,10 +76,10 @@ dayofthemonth=$(date +%d)
|
|||
weeknumber=$(date +%V)
|
||||
|
||||
# WAKEUP TIME
|
||||
if [[ ! -f /tmp/A_Station_ON ]]; then
|
||||
echo "onheure=$heure; onminute=$minute; ontimebar=$timebar" > /tmp/A_Station_ON
|
||||
if [[ ! -f /home/$YOU/.zen/A_Station_ON ]]; then
|
||||
echo "onheure=$heure; onminute=$minute; ontimebar=$timebar" > /home/$YOU/.zen/A_Station_ON
|
||||
else
|
||||
source /tmp/A_Station_ON
|
||||
source /home/$YOU/.zen/A_Station_ON
|
||||
old=$ontimebar
|
||||
new=$timebar
|
||||
# feeding variables by using read and splitting with IFS
|
||||
|
|
Loading…
Reference in New Issue