This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
log2ram
mirror of
https://github.com/azlux/log2ram.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
18
Wiki
Activity
Browse Source
Bug fix: avoid installing when still installed
pull/37/head
Nathan Huizinga
7 years ago
parent
0e76e8d655
commit
4f7c1a33a2
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
install.sh
+ 3
- 0
install.sh
View File
@@ -1,5 +1,8 @@
#!/bin/sh
[ -d /var/hdd.log ] && echo "ERROR: log2ram still installed. Uninstall first!"
[ -d /var/hdd.log ] && exit 1
if [ `id -u` -eq 0 ]
then
cp log2ram.service /etc/systemd/system/log2ram.service
Write
Preview
Loading…
Cancel
Save