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
Suggestion from
#50
Check if systemd log2ram service is running before the install;
pull/49/head
azlux
6 years ago
parent
e41d5a0f23
commit
2d7951a666
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
install.sh
+ 2
- 2
install.sh
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
[ -d /var/hdd.log ] && echo "ERROR: log2ram still installed. Uninstall first!"
[ -d /var/hdd.log ] && exit 1
systemctl -q is-active log2ram && { echo "ERROR: log2ram service is still running. Please run \"sudo service log2ram stop\" to stop it."; exit 1; }
if [ "$(id -u)" -eq 0 ]
then
Write
Preview
Loading…
Cancel
Save