summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Makefile.drakxtools3
-rw-r--r--perl-install/share/net_applet.desktop12
2 files changed, 14 insertions, 1 deletions
diff --git a/perl-install/Makefile.drakxtools b/perl-install/Makefile.drakxtools
index 0689da5f0..8746ba7ea 100644
--- a/perl-install/Makefile.drakxtools
+++ b/perl-install/Makefile.drakxtools
@@ -28,7 +28,7 @@ $(DIRS):
[ ! -e $@/Makefile ] || $(MAKE) -C $@
install:
- mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{harddrake,pixmaps,icons/{large,mini}} $(BINX11DEST) $(LIBX11DEST) $(PIXDIR) $(INITDIR) $(MENUDIR)
+ mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{harddrake,pixmaps,icons/{large,mini},autostart} $(BINX11DEST) $(LIBX11DEST) $(PIXDIR) $(INITDIR) $(MENUDIR)
install -d $(INLIBDEST_DIRS:%=$(LIBDEST)/%)
install $(STANDALONEPMS) standalone/service_harddrake.sh $(SBINDEST)
install -s rpcinfo-flushed ddcprobe/ddcxinfos serial_probe/serial_probe $(SBINDEST)
@@ -44,6 +44,7 @@ install:
for i in $(PMS_DIRS); do install -d $(LIBDEST)/$$i ; install -m 644 $$i/*.pm $(LIBDEST)/$$i/;done
install -m 644 pixmaps/*.* $(PIXDIR)
install -m 644 share/diskdrake.rc $(DATADIR)/$(NAME)
+ install -m 644 share/net_applet.desktop $(DATADIR)/autostart
install -d $(PREFIX)/etc/security
echo 'RESTRICT=yes' > $(PREFIX)/etc/security/fileshare.conf
diff --git a/perl-install/share/net_applet.desktop b/perl-install/share/net_applet.desktop
new file mode 100644
index 000000000..3f4b990fd
--- /dev/null
+++ b/perl-install/share/net_applet.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=NetApplet
+GenericName=Network Watcher Applet
+GenericName[fr]=Applet de Contrôle du réseau
+Exec=net_applet
+Icon=disconnected
+Type=Application
+Terminal=0
+X-KDE-autostart-after=panel
+X-KDE-UniqueApplet=true
+X-KDE-autostart-condition=General:AutoStart:true \ No newline at end of file