9 lines
202 B
Bash
9 lines
202 B
Bash
#!/bin/sh
|
|
if (systemctl list-unit-files |grep smanager) then
|
|
echo "Restarting smanager"
|
|
/sbin/e-smith/signal-event manager2-refresh;
|
|
systemctl restart smanager
|
|
else
|
|
echo "Smanager not loaded"
|
|
fi
|