mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-17 05:32:56 +08:00
15 lines
201 B
Bash
15 lines
201 B
Bash
#!/bin/sh
|
|
|
|
. /lib/functions.sh
|
|
|
|
config_load honk
|
|
config_get_bool boot_enabled main boot_enabled 0
|
|
|
|
if [ "$boot_enabled" -eq 1 ]; then
|
|
/etc/init.d/honk enable
|
|
else
|
|
/etc/init.d/honk disable
|
|
fi
|
|
|
|
exit 0
|