]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/etherwake
lvm2: Update to 2.02.187
[ipfire-2.x.git] / lfs / etherwake
index 17ec9ca5dd4f5457fe30d4303b1dd5922718ec53..3aa961ce2b2c082b12471f93009316e298e0dc48 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -72,5 +72,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP) && make install
+
+       # Allow execution by other users than root
+       setcap cap_net_raw+ep /usr/sbin/etherwake
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)