mirror of
https://github.com/key-networks/ztncui.git
synced 2025-06-07 10:43:44 +02:00
No redirect to /dev/null in RPM scripts
This commit is contained in:
parent
23ef1a02c3
commit
1709df3867
3 changed files with 5 additions and 5 deletions
|
@ -2,5 +2,5 @@ ETC='/opt/key-networks/ztncui/etc'
|
||||||
echo "Copying default password file..."
|
echo "Copying default password file..."
|
||||||
cp -pv $ETC/default.passwd $ETC/passwd
|
cp -pv $ETC/default.passwd $ETC/passwd
|
||||||
echo "Enabling and starting ztncui service..."
|
echo "Enabling and starting ztncui service..."
|
||||||
systemctl enable ztncui > /dev/null 2>&1
|
systemctl enable ztncui
|
||||||
systemctl start ztncui > /dev/null 2>&1
|
systemctl start ztncui
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
systemctl daemon-reload > /dev/null 2>&1
|
systemctl daemon-reload
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
systemctl stop ztncui > /dev/null 2>&1
|
systemctl stop ztncui
|
||||||
systemctl disable ztncui > /dev/null 2>&1
|
systemctl disable ztncui
|
||||||
|
|
Loading…
Add table
Reference in a new issue