modified dlogutil smack label
authorjuho <juho80.son@samsung.com>
Wed, 30 Jan 2013 14:43:07 +0000 (23:43 +0900)
committerjuho <juho80.son@samsung.com>
Wed, 30 Jan 2013 14:43:07 +0000 (23:43 +0900)
dlogctrl
dlogutil.manifest

index ff13bea..169527d 100755 (executable)
--- a/dlogctrl
+++ b/dlogctrl
@@ -53,7 +53,7 @@ else
                        echo 0
                fi
        fi
-
+    echo "You must reboot this target to apply the change!"
 fi
 
 exit 0
index 116140b..4a53c45 100644 (file)
@@ -1,17 +1,20 @@
 <manifest>
        <define>
-               <domain name="dlogutil" policy="restricted"/>
+               <domain name="dlogutil"/>
        <provide>
+               <label name="dlogutil::dlogutil"/>
+               <label name="dlogutil::dlogctrl"/>
                <label name="dlogutil::dlog"/>
-               <label name="dlogutil::dlogscript"/>
        </provide>
        </define>
        <request>
                <domain name="dlogutil"/>
        </request>
        <assign>
-               <filesystem path="/usr/bin/dlogutil" label="dlogutil"/>
+               <filesystem path="/usr/bin/dlogutil" label="dlogutil::dlogutil"/>
+               <filesystem path="/usr/bin/dlogctrl" label="dlogutil::dlogctrl"/>
                <filesystem path="/opt/etc/dlog" label="dlogutil::dlog"/>
-               <filesystem path="/etc/rc.d/init.d/dlog.sh" label="dlogutil::dlogscript"/>
+               <filesystem path="/etc/rc.d/init.d/dlog.sh" label="_" exec_label="none"/>
+               <filesystem path="/etc/rc.d/rc3.d/S05dlog" label="_" exec_label="none"/>
        </assign>
 </manifest>