-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
49 lines (39 loc) · 770 Bytes
/
Copy pathmakefile
File metadata and controls
49 lines (39 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
all: remove_CN
mkdir -p entries
go run *.go
log: remove_CN
mkdir -p entries
$(eval TIME := $(shell date +"%a%b%d%y%T"))
mkdir -p logs
touch logs/$(TIME).log
touch logs/latest.log
ln -f logs/$(TIME).log logs/latest.log
go run *.go 2> logs/$(TIME).log&
tail -f logs/latest.log
killit:
touch CLOSE_NETPLAN
sh safekill.sh
rm -f CLOSE_NETPLAN
rm -f KILL_NETPLAN_NOW
remove_CN:
rm -f CLOSE_NETPLAN
rm -f KILL_NETPLAN_NOW
reset: remove_CN
rm -rf logs
sh ./deleteentries.sh
watch:
mkdir -p logs
touch logs/latest.log
watch -n 5 -d cat logs/latest.log
entfix:
chmod 777 -R entries
backup:
mkdir -p entries
zip -r entries.zip entries
convert-old:
sh ./converttojson.sh
check:
sh ./checkversion.sh
updatepush:
zip -r public/netplan.zip .
make