diff options
Diffstat (limited to 'target/linux/mediatek/base-files/etc/init.d')
-rwxr-xr-x | target/linux/mediatek/base-files/etc/init.d/mtkhnat | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/mediatek/base-files/etc/init.d/mtkhnat b/target/linux/mediatek/base-files/etc/init.d/mtkhnat new file mode 100755 index 0000000..32011e7 --- /dev/null +++ b/target/linux/mediatek/base-files/etc/init.d/mtkhnat @@ -0,0 +1,13 @@ +#!/bin/sh /etc/rc.common + +START=90 + +USE_PROCD=1 +NAME=mtkhnat +PROG=/sbin/mtkhnat + +start_service() { + procd_open_instance + procd_set_param command "${PROG}" + procd_close_instance +} |