11 lines
271 B
Plaintext
11 lines
271 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
/sbin/e-smith/config show cvm-unix 1>/dev/null || /sbin/e-smith/config set cvm-unix service status enabled
|
||
|
|
||
|
status=$(/sbin/e-smith/config getprop cvm-unix status)
|
||
|
|
||
|
if [ "$status" != "enabled" ]
|
||
|
then
|
||
|
/sbin/e-smith/config setprop cvm-unix status disabled
|
||
|
fi
|