slinux hacking

- xfce-utils removed from Sisyphus
- apt-indicator needs gksu
- add slinux misc packages:
  + pm-utils
  + strace
- image-scripts.d/50services is a script which starts/stop some services
This commit is contained in:
Gleb Fotengauer-Malinovskiy 2012-04-23 15:40:43 +04:00 committed by Michael Shigorin
parent 3a4ba20a0f
commit a83b7a17cb
4 changed files with 42 additions and 2 deletions

View File

@ -0,0 +1,38 @@
#!/bin/sh -x
SYSTEMCTL=/bin/systemctl
CHKCONFIG=/sbin/chkconfig
turn_on() {
if [ -x $SYSTEMCTL ]; then
$SYSTEMCTL enable ${*}.service
else if [ -x $CHKCONFIG ]; then
$CHKCONFIG $* on
else
exit 0
fi
fi
}
turn_off() {
if [ -x $SYSTEMCTL ]; then
$SYSTEMCTL disable ${*}.service
else if [ -x $CHKCONFIG ]; then
$CHKCONFIG $* off
else
exit 0
fi
fi
}
SERVICES_TO_ENABLE="NetworkManager"
SERVICES_TO_DISABLE=
for i in $SERVICES_TO_ENABLE; do
turn_on $i;
done
for i in $SERVICES_TO_DISABLE; do
turn_off $i;
done
:

View File

@ -1,3 +1,6 @@
strace
pm-utils
fvwm-
fvwm-full-
altlinux-freedesktop-menu-shallow-menu
@ -46,6 +49,7 @@ gcalctool
synaptic
synaptic-usermode
apt-indicator
gksu
cups
ghostscript-cups
cups-pdf

View File

@ -9,7 +9,6 @@ xfce4-minimal
xfce4-session
xfce4-panel
xfce4-screenshooter
xfce-utils
xfconf-utils
xfce4-power-manager
Thunar

View File

@ -8,6 +8,5 @@ xfce4-minimal
xfce4-panel
xfce4-icon-theme
xfce4-session
xfce-utils
xfconf-utils
Thunar