save old config.ini during .deb instalation
This commit is contained in:
parent
b94b94b0a3
commit
7435588363
@ -1,3 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
/usr/bin/systemctl enable luser.service
|
/usr/bin/systemctl enable luser.service
|
||||||
/sbin/service luser start
|
/sbin/service luser start
|
||||||
|
cp /tmp/oldluserconfig.ini /var/luser/luser/config.ini
|
||||||
|
rm /tmp/oldluserconfig.ini
|
||||||
|
2
build-deb/luser/DEBIAN/preinst
Executable file
2
build-deb/luser/DEBIAN/preinst
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
cp /var/luser/luser/config.ini /tmp/oldluserconfig.ini
|
@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
/sbin/service luser stop
|
/sbin/service luser stop
|
||||||
/usr/bin/systemdctl disable luser.service
|
/usr/bin/systemdctl disable luser.service
|
||||||
|
cp /var/luser/luser/config.ini /tmp/oldluserconfig.ini
|
||||||
|
Loading…
Reference in New Issue
Block a user